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)
commit5f077644b95229ab3b27ee422e2b702d5e89653d
tree808f0229957024fefd792fd12f0afa47ce8d1d70
parentf9748ef13b6a7dfe9fe9bcae8b3a8cbc10c1e188
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