summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pl061.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas2014-04-27 02:00:48 +0200
committerLinus Walleij2014-05-03 21:16:07 +0200
commit459b81808f76f4a0e902e4988200373a627a57a8 (patch)
tree9df8553e8a5f4fdb07322382237eb501c35d5e4b /drivers/gpio/gpio-pl061.c
parentgpio: em: use BIT() macro instead of shifting bits (diff)
downloadkernel-qcow2-linux-459b81808f76f4a0e902e4988200373a627a57a8.tar.gz
kernel-qcow2-linux-459b81808f76f4a0e902e4988200373a627a57a8.tar.xz
kernel-qcow2-linux-459b81808f76f4a0e902e4988200373a627a57a8.zip
gpio: kempld: 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