gpio: kempld: use BIT() macro instead of shifting bits
authorJavier Martinez Canillas <javier@dowhile0.org>
Sun, 27 Apr 2014 00:00:48 +0000 (02:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 3 May 2014 19:16:07 +0000 (12:16 -0700)
commit459b81808f76f4a0e902e4988200373a627a57a8
tree9df8553e8a5f4fdb07322382237eb501c35d5e4b
parent5f077644b95229ab3b27ee422e2b702d5e89653d
gpio: kempld: 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-kempld.c
This page took 0.025672 seconds and 5 git commands to generate.