diff options
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r-- | include/linux/gpio.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h index 40915b461f18..f757a58191a6 100644 --- a/include/linux/gpio.h +++ b/include/linux/gpio.h | |||
@@ -241,30 +241,6 @@ static inline int irq_to_gpio(unsigned irq) | |||
241 | return -EINVAL; | 241 | return -EINVAL; |
242 | } | 242 | } |
243 | 243 | ||
244 | static inline int | ||
245 | gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, | ||
246 | unsigned int gpio_offset, unsigned int pin_offset, | ||
247 | unsigned int npins) | ||
248 | { | ||
249 | WARN_ON(1); | ||
250 | return -EINVAL; | ||
251 | } | ||
252 | |||
253 | static inline int | ||
254 | gpiochip_add_pingroup_range(struct gpio_chip *chip, | ||
255 | struct pinctrl_dev *pctldev, | ||
256 | unsigned int gpio_offset, const char *pin_group) | ||
257 | { | ||
258 | WARN_ON(1); | ||
259 | return -EINVAL; | ||
260 | } | ||
261 | |||
262 | static inline void | ||
263 | gpiochip_remove_pin_ranges(struct gpio_chip *chip) | ||
264 | { | ||
265 | WARN_ON(1); | ||
266 | } | ||
267 | |||
268 | static inline int devm_gpio_request(struct device *dev, unsigned gpio, | 244 | static inline int devm_gpio_request(struct device *dev, unsigned gpio, |
269 | const char *label) | 245 | const char *label) |
270 | { | 246 | { |