aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-06-10 20:10:55 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-06-12 11:14:23 +0200
commit8ee1de65a94b14427b5d5e3a7e7b81523451d4f2 (patch)
treed732cd06231f600859c2f6fb8ca7147ffb048255 /include/linux/platform_data
parentgpio: omap: simplify bank->level_mask (diff)
downloadlinux-dev-8ee1de65a94b14427b5d5e3a7e7b81523451d4f2.tar.xz
linux-dev-8ee1de65a94b14427b5d5e3a7e7b81523451d4f2.zip
gpio: omap: simplify read-modify-write
We already have a read-modify-write helper, but there's more that can be done with a read-modify-write helper if it returned the new value. Modify the existing helper to return the new value, and arrange for it to take one less argument by having the caller compute the register address. 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