summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-acpi.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-12-18 09:47:57 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-12-21 11:29:57 +0100
commitf0df462f3ae1d10131f8ff7daa016ce1a8686727 (patch)
tree4f96aa4bda17a100659cd6eca661fc4c8d6a7ff8 /drivers/gpio/gpiolib-acpi.c
parent533918b6f6ae7566b703adf0346dd15f2a60fe77 (diff)
downloadlinux-f0df462f3ae1d10131f8ff7daa016ce1a8686727.tar.bz2
gpio: mxs: read pin level directly instead of using .get
Calling readl directly instead of going through another function that results in the same result to remove some overhead. I didn't try to measure the performance gain, but IMHO there is little benefit from abstracting a GPIO register access in the GPIO driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-acpi.c')
0 files changed, 0 insertions, 0 deletions