diff options
author | Joey Gouly <joey.gouly@arm.com> | 2021-11-21 19:56:39 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-11-27 02:55:14 +0300 |
commit | 391aad396238037c13074b5e5cd02ae15a2fab91 (patch) | |
tree | 48472b25fb0a524e3a3bf4fc6a29465512a636e7 /drivers/pinctrl/pinctrl-apple-gpio.c | |
parent | a8888e64eec8f8e50917f9e616f45ff2ad01be66 (diff) | |
download | linux-391aad396238037c13074b5e5cd02ae15a2fab91.tar.xz |
pinctrl: apple: remove gpio-controller check
Having this missing, but everything else valid shouldn't result
in a failure.
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20211121165642.27883-9-joey.gouly@arm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-apple-gpio.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-apple-gpio.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pinctrl/pinctrl-apple-gpio.c b/drivers/pinctrl/pinctrl-apple-gpio.c index fb34cbe189ce..471d3abf9d99 100644 --- a/drivers/pinctrl/pinctrl-apple-gpio.c +++ b/drivers/pinctrl/pinctrl-apple-gpio.c @@ -360,10 +360,6 @@ static int apple_gpio_register(struct apple_gpio_pinctrl *pctl) void **irq_data = NULL; int ret; - if (!of_property_read_bool(pctl->dev->of_node, "gpio-controller")) - return dev_err_probe(pctl->dev, -ENODEV, - "No gpio-controller property\n"); - pctl->irq_chip = apple_gpio_irqchip; pctl->gpio_chip.label = dev_name(pctl->dev); |