diff options
Diffstat (limited to 'include/linux/gpio/consumer.h')
-rw-r--r-- | include/linux/gpio/consumer.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/gpio/consumer.h b/include/linux/gpio/consumer.h index 2484b2fcc6eb..933d93656605 100644 --- a/include/linux/gpio/consumer.h +++ b/include/linux/gpio/consumer.h | |||
@@ -143,15 +143,6 @@ struct gpio_desc *devm_fwnode_get_index_gpiod_from_child(struct device *dev, | |||
143 | struct fwnode_handle *child, | 143 | struct fwnode_handle *child, |
144 | enum gpiod_flags flags, | 144 | enum gpiod_flags flags, |
145 | const char *label); | 145 | const char *label); |
146 | /* FIXME: delete this helper when users are switched over */ | ||
147 | static inline struct gpio_desc *devm_get_gpiod_from_child(struct device *dev, | ||
148 | const char *con_id, struct fwnode_handle *child) | ||
149 | { | ||
150 | return devm_fwnode_get_index_gpiod_from_child(dev, con_id, | ||
151 | 0, child, | ||
152 | GPIOD_ASIS, | ||
153 | "?"); | ||
154 | } | ||
155 | 146 | ||
156 | #else /* CONFIG_GPIOLIB */ | 147 | #else /* CONFIG_GPIOLIB */ |
157 | 148 | ||
@@ -444,13 +435,6 @@ struct gpio_desc *devm_fwnode_get_index_gpiod_from_child(struct device *dev, | |||
444 | return ERR_PTR(-ENOSYS); | 435 | return ERR_PTR(-ENOSYS); |
445 | } | 436 | } |
446 | 437 | ||
447 | /* FIXME: delete this when all users are switched over */ | ||
448 | static inline struct gpio_desc *devm_get_gpiod_from_child(struct device *dev, | ||
449 | const char *con_id, struct fwnode_handle *child) | ||
450 | { | ||
451 | return ERR_PTR(-ENOSYS); | ||
452 | } | ||
453 | |||
454 | #endif /* CONFIG_GPIOLIB */ | 438 | #endif /* CONFIG_GPIOLIB */ |
455 | 439 | ||
456 | static inline | 440 | static inline |