gpio: pl061: use BIT() macro instead of shifting bits
authorJavier Martinez Canillas <javier@dowhile0.org>
Sun, 27 Apr 2014 00:00:50 +0000 (02:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 3 May 2014 19:16:24 +0000 (12:16 -0700)
commitbea415041c28907d721f0647b3b80f613f0c4d37
treec167aa8bf703c5a18c56ef20b52bdd6d7a6e6888
parentb1e9fec2b8690b153b0b9ebbe9dfe6a246d55e4a
gpio: pl061: 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-pl061.c