commit | cee1b40d96f1b49e9a1b38e2d57d37a2c20ced31 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Apr 05 15:09:09 2016 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Apr 05 16:58:38 2016 +0200 |
tree | 7a2df2fac4ce057a3fd6c6ca2cf48b5f402496ac | |
parent | c663e5f56737757db4d0b317c510ab505f93cecb [diff] |
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>