summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pl061.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas2014-04-27 02:00:47 +0200
committerLinus Walleij2014-05-03 21:15:52 +0200
commit5f077644b95229ab3b27ee422e2b702d5e89653d (patch)
tree808f0229957024fefd792fd12f0afa47ce8d1d70 /drivers/gpio/gpio-pl061.c
parentgpio: Add missing device-managed documentation (diff)
downloadkernel-qcow2-linux-5f077644b95229ab3b27ee422e2b702d5e89653d.tar.gz
kernel-qcow2-linux-5f077644b95229ab3b27ee422e2b702d5e89653d.tar.xz
kernel-qcow2-linux-5f077644b95229ab3b27ee422e2b702d5e89653d.zip
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>
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
0 files changed, 0 insertions, 0 deletions