diff options
author | Pavel Machek <pavel@ucw.cz> | 2018-09-11 23:01:33 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-10-23 08:58:34 +0100 |
commit | 7a6a395b16c3fdcd2ede2b0ce4bf63f6dafc1fea (patch) | |
tree | 69c670af2f7c852dcfa468fb9940ea369c8f44ac /include/linux/mfd/ti-lmu.h | |
parent | 5b6850fa90c581f3743bb369861074d23d0e9f3c (diff) |
mfd: ti-lmu: Switch to GPIOD
Use new descriptor based API instead of the legacy one.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/ti-lmu.h')
-rw-r--r-- | include/linux/mfd/ti-lmu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/ti-lmu.h b/include/linux/mfd/ti-lmu.h index 09d5f30384e5..1ef51ed36be5 100644 --- a/include/linux/mfd/ti-lmu.h +++ b/include/linux/mfd/ti-lmu.h @@ -16,6 +16,7 @@ #include <linux/gpio.h> #include <linux/notifier.h> #include <linux/regmap.h> +#include <linux/gpio/consumer.h> /* Notifier event */ #define LMU_EVENT_MONITOR_DONE 0x01 @@ -81,7 +82,7 @@ enum lm363x_regulator_id { struct ti_lmu { struct device *dev; struct regmap *regmap; - int en_gpio; + struct gpio_desc *en_gpio; struct blocking_notifier_head notifier; }; #endif |