summaryrefslogtreecommitdiff
path: root/include/linux/mfd/lm3533.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-06-05 22:14:16 +0300
committerLee Jones <lee@kernel.org>2024-07-04 17:38:40 +0100
commitd7636117ca976e217b6452c082e7f7c041f4019c (patch)
tree8636a2db09b2bb233a2b2e323d2de8958cd2476b /include/linux/mfd/lm3533.h
parent13c151a919a876521c16810756764aa38683eb62 (diff)
downloadlwn-d7636117ca976e217b6452c082e7f7c041f4019c.tar.gz
lwn-d7636117ca976e217b6452c082e7f7c041f4019c.zip
mfd: lm3533: Move to new GPIO descriptor-based APIs
Legacy GPIO APIs are subject to remove. Convert the driver to new APIs. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240605191458.2536819-1-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/mfd/lm3533.h')
-rw-r--r--include/linux/mfd/lm3533.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h
index 77092f6363ad..69059a7a2ce5 100644
--- a/include/linux/mfd/lm3533.h
+++ b/include/linux/mfd/lm3533.h
@@ -16,6 +16,7 @@
DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name)
struct device;
+struct gpio_desc;
struct regmap;
struct lm3533 {
@@ -23,7 +24,7 @@ struct lm3533 {
struct regmap *regmap;
- int gpio_hwen;
+ struct gpio_desc *hwen;
int irq;
unsigned have_als:1;
@@ -69,8 +70,6 @@ enum lm3533_boost_ovp {
};
struct lm3533_platform_data {
- int gpio_hwen;
-
enum lm3533_boost_ovp boost_ovp;
enum lm3533_boost_freq boost_freq;