pinctrl: delete raw device pointers in pinmux maps
After discussion with Mark Brown in an unrelated thread about ADC lookups, it came to my knowledge that the ability to pass a struct device * in the regulator consumers is just a historical artifact, and not really recommended. Since there are no in-kernel users of these pointers, we just kill them right now, before someone starts to use them. Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -72,8 +72,7 @@ struct pin_desc {
|
||||
#endif
|
||||
};
|
||||
|
||||
struct pinctrl_dev *get_pinctrl_dev_from_dev(struct device *dev,
|
||||
const char *dev_name);
|
||||
struct pinctrl_dev *get_pinctrl_dev_from_devname(const char *dev_name);
|
||||
struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, unsigned int pin);
|
||||
int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name);
|
||||
int pinctrl_get_device_gpio_range(unsigned gpio,
|
||||
|
Reference in New Issue
Block a user