aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-03 09:59:57 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-10 08:49:14 +0200
commit4bef8bf20b69c3a98dbb9c8e406c22adb8fd3903 (patch)
tree76a89d32b50333e22d72815f018cd188e8bf252e /include/linux/gpio
parentgpio: twl6040: Cut down boilerplate (diff)
downloadlinux-dev-4bef8bf20b69c3a98dbb9c8e406c22adb8fd3903.tar.xz
linux-dev-4bef8bf20b69c3a98dbb9c8e406c22adb8fd3903.zip
gpio: twl6040: Use bitops
It's nice to use BIT() macros rather than open coding the same. It's good practice as sometimes people use BIT(31) and forget that the constant must be cast unsigned long. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
0 files changed, 0 insertions, 0 deletions