mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
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>
This commit is contained in:
parent
a8888e64ee
commit
391aad3962
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue