]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: omap: simplify get_multiple()
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 10 Jun 2019 17:10:52 +0000 (20:10 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 12 Jun 2019 09:13:53 +0000 (11:13 +0200)
commit1313d67e85094072af9c9edc6a9112e35e726179
tree2790dfc1538c7ec47928fb5850400f0156a8d9af
parentcad59d85758742fcbf2046a7c5199fa3a6af9b66
gpio: omap: simplify get_multiple()

There is no reason to have helper functions to read the datain and
dataout registers when they are only used in one location.  Simplify
this code to make it more readable.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c