diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-12-18 09:47:57 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-12-21 11:29:57 +0100 |
commit | f0df462f3ae1d10131f8ff7daa016ce1a8686727 (patch) | |
tree | 4f96aa4bda17a100659cd6eca661fc4c8d6a7ff8 /drivers/gpio/gpio-davinci.c | |
parent | gpio: aspeed: remove duplicated statement (diff) | |
download | linux-f0df462f3ae1d10131f8ff7daa016ce1a8686727.tar.xz linux-f0df462f3ae1d10131f8ff7daa016ce1a8686727.zip |
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/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions