summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
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 12:14:23 +0300
commit8ee1de65a94b14427b5d5e3a7e7b81523451d4f2 (patch)
treed732cd06231f600859c2f6fb8ca7147ffb048255 /scripts/cleanpatch
parenta0e881e2c5739145a54561751c3c43f07e44d462 (diff)
downloadlinux-8ee1de65a94b14427b5d5e3a7e7b81523451d4f2.tar.xz
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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions