aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-06-10 20:10:54 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-06-12 11:14:16 +0200
commita0e881e2c5739145a54561751c3c43f07e44d462 (patch)
tree6b4cf4a5d1ccf24a899a3540de0eb45108a65635 /include/linux/platform_data
parentgpio: omap: simplify set_multiple() (diff)
downloadlinux-dev-a0e881e2c5739145a54561751c3c43f07e44d462.tar.xz
linux-dev-a0e881e2c5739145a54561751c3c43f07e44d462.zip
gpio: omap: simplify bank->level_mask
bank->level_mask is merely the bitwise or of the level detection context which we have already read in this function. Rather than repeating additional reads, compute it from the values already read. 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>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions