gpio: omap: use BIT() macro instead of shifting bits
authorJavier Martinez Canillas <javier@dowhile0.org>
Sun, 27 Apr 2014 00:00:49 +0000 (02:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 3 May 2014 19:16:16 +0000 (12:16 -0700)
commitb1e9fec2b8690b153b0b9ebbe9dfe6a246d55e4a
tree77982e045bef0aea2640193f6683810cc6918512
parent459b81808f76f4a0e902e4988200373a627a57a8
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>
drivers/gpio/gpio-omap.c