diff options
author | 2018-09-13 13:58:21 +0200 | |
---|---|---|
committer | 2018-09-14 15:10:57 +0200 | |
commit | 1c5fb66afa2a1d1860cff46ef426117b11e029aa (patch) | |
tree | 56f335112e60f991a0274209168b0d2a83c00099 /drivers/pinctrl/nomadik/pinctrl-abx500.c | |
parent | pinctrl: at91-pio4: Get rid of legacy call (diff) | |
download | linux-1c5fb66afa2a1d1860cff46ef426117b11e029aa.tar.gz linux-1c5fb66afa2a1d1860cff46ef426117b11e029aa.tar.bz2 linux-1c5fb66afa2a1d1860cff46ef426117b11e029aa.zip |
pinctrl: Include <linux/gpio/driver.h> nothing else
These drivers are GPIO drivers, and the do not need to use the
legacy header in <linux/gpio.h>, go directly for
<linux/gpio/driver.h> instead.
Replace any use of GPIOF_* with 0/1, these flags are for
consumers, not drivers.
Get rid of a few gpio_to_irq() users that was littering
around the place, use local callbacks or avoid using it at
all.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/nomadik/pinctrl-abx500.c')
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-abx500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index e3689cc62a41..3d630a0544e1 100644 --- a/drivers/pinctrl/nomadik/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c @@ -18,7 +18,7 @@ #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/interrupt.h> |