]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: em: use BIT() macro instead of shifting bits
authorJavier Martinez Canillas <javier@dowhile0.org>
Sun, 27 Apr 2014 00:00:47 +0000 (02:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 3 May 2014 19:15:52 +0000 (12:15 -0700)
commitcf75deb4619fd845a1473220f4d83b122b468584
tree808f0229957024fefd792fd12f0afa47ce8d1d70
parent70fe23bd734de7a4b92eb51e181a3b54e18cf02c
gpio: em: 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-em.c