]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaccbe73d70601bb9ca4c14cd7d3a12e7008d5f5e
tree77982e045bef0aea2640193f6683810cc6918512
parent5c270f2472505c665c5aa82b95c4783e83ad4498
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