diff options
author | Javier Martinez Canillas | 2014-04-27 02:00:48 +0200 |
---|---|---|
committer | Linus Walleij | 2014-05-03 21:16:07 +0200 |
commit | 459b81808f76f4a0e902e4988200373a627a57a8 (patch) | |
tree | 9df8553e8a5f4fdb07322382237eb501c35d5e4b /drivers/gpio/gpio-pl061.c | |
parent | gpio: em: use BIT() macro instead of shifting bits (diff) | |
download | kernel-qcow2-linux-459b81808f76f4a0e902e4988200373a627a57a8.tar.gz kernel-qcow2-linux-459b81808f76f4a0e902e4988200373a627a57a8.tar.xz kernel-qcow2-linux-459b81808f76f4a0e902e4988200373a627a57a8.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
0 files changed, 0 insertions, 0 deletions