aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-02-11 05:03:06 -0500
committerLinus Walleij <linus.walleij@linaro.org>2016-02-15 18:20:02 -0500
commit20ec3e39fc12cf3a331ee73eb01d52bddcdd2fa4 (patch)
tree4eabd98c542ad5c4a5f221544d25f44e98d41dc2 /include/linux/gpio
parent4e6fd26dcf5d70a7700a4c15d8f239103bdce91d (diff)
gpio: move the pin ranges into gpio_device
Instead of keeping this reference to the pin ranges in the client driver-supplied gpio_chip, move it to the internal gpio_device as the drivers have no need to inspect this. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r--include/linux/gpio/driver.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 41c6144c473b..e2a934ce3e64 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -181,15 +181,6 @@ struct gpio_chip {
181 int (*of_xlate)(struct gpio_chip *gc, 181 int (*of_xlate)(struct gpio_chip *gc,
182 const struct of_phandle_args *gpiospec, u32 *flags); 182 const struct of_phandle_args *gpiospec, u32 *flags);
183#endif 183#endif
184#ifdef CONFIG_PINCTRL
185 /*
186 * If CONFIG_PINCTRL is enabled, then gpio controllers can optionally
187 * describe the actual pin range which they serve in an SoC. This
188 * information would be used by pinctrl subsystem to configure
189 * corresponding pins for gpio usage.
190 */
191 struct list_head pin_ranges;
192#endif
193}; 184};
194 185
195extern const char *gpiochip_is_requested(struct gpio_chip *chip, 186extern const char *gpiochip_is_requested(struct gpio_chip *chip,