gpio: tc3589x: use BIT() macro
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Apr 2016 13:09:09 +0000 (15:09 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Apr 2016 14:58:38 +0000 (16:58 +0200)
commitcee1b40d96f1b49e9a1b38e2d57d37a2c20ced31
tree7a2df2fac4ce057a3fd6c6ca2cf48b5f402496ac
parentc663e5f56737757db4d0b317c510ab505f93cecb
gpio: tc3589x: use BIT() macro

This switch to use BIT(n) instead of (1 << n) which is less
to the point. Most GPIO drivers do this to avoid mistakes.
Also switch from using <linux/gpio.h> to the apropriate
<linux/gpio/driver.h> include.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tc3589x.c