summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pl061.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas2014-04-27 02:00:49 +0200
committerLinus Walleij2014-05-03 21:16:16 +0200
commitb1e9fec2b8690b153b0b9ebbe9dfe6a246d55e4a (patch)
tree77982e045bef0aea2640193f6683810cc6918512 /drivers/gpio/gpio-pl061.c
parentgpio: kempld: use BIT() macro instead of shifting bits (diff)
downloadkernel-qcow2-linux-b1e9fec2b8690b153b0b9ebbe9dfe6a246d55e4a.tar.gz
kernel-qcow2-linux-b1e9fec2b8690b153b0b9ebbe9dfe6a246d55e4a.tar.xz
kernel-qcow2-linux-b1e9fec2b8690b153b0b9ebbe9dfe6a246d55e4a.zip
gpio: omap: use BIT() macro instead of shifting bits
Using the BIT() macro instead of shifting bits makes the code less error prone and also more readable. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
0 files changed, 0 insertions, 0 deletions