diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-01 14:29:26 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-12 11:06:01 +0300 |
commit | a5c612b9dbe14fee62829b4aecde17d670effed2 (patch) | |
tree | 00f32da4bbcd1ed8039db032bcf591cd961d0076 /drivers/pinctrl/pinctrl-da9062.c | |
parent | fe4fa2e4f7d0722c179fffa25911ea35cafadce2 (diff) | |
download | linux-a5c612b9dbe14fee62829b4aecde17d670effed2.tar.xz |
pinctrl: da9062: don't include private GPIOLIB header
gpiochip_get_desc() now lives in linux/gpio/driver.h and there is no
longer any need to include GPIOLIB's private header.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-da9062.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-da9062.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pinctrl/pinctrl-da9062.c b/drivers/pinctrl/pinctrl-da9062.c index 9239b9cd9002..3998b27cbe0e 100644 --- a/drivers/pinctrl/pinctrl-da9062.c +++ b/drivers/pinctrl/pinctrl-da9062.c @@ -23,12 +23,6 @@ #include <linux/mfd/da9062/core.h> #include <linux/mfd/da9062/registers.h> -/* - * We need this get the gpio_desc from a <gpio_chip,offset> tuple to decide if - * the gpio is active low without a vendor specific dt-binding. - */ -#include "../gpio/gpiolib.h" - #define DA9062_TYPE(offset) (4 * (offset % 2)) #define DA9062_PIN_SHIFT(offset) (4 * (offset % 2)) #define DA9062_PIN_ALTERNATE 0x00 /* gpio alternate mode */ |