Skip to content

Commit

Permalink
pinctrl: stm32: Remove check for pins-are-numbered
Browse files Browse the repository at this point in the history
Upstream has dropped this property from the device trees that we import,
so drop our check for it to fix boot up on STM32MP1.

Link: https://lore.kernel.org/all/20221129023401.278780-3-bero@baylibre.com/
Fixes: 03b1dd7 ("dts: update to v6.3-rc1")
Reported-by: David Jander <david@protonic.nl>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230331103123.1525200-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
a3f authored and saschahauer committed Apr 11, 2023
1 parent 2313208 commit 38ff8da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/pinctrl/pinctrl-stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,6 @@ static int stm32_pinctrl_probe(struct device *dev)
struct device_node *np = dev->of_node, *child;
int ret;

if (!of_find_property(np, "pins-are-numbered", NULL)) {
dev_err(dev, "only pins-are-numbered format supported\n");
return -EINVAL;
}

for_each_available_child_of_node(np, child)
if (of_property_read_bool(child, "gpio-controller"))
nbanks++;
Expand Down

0 comments on commit 38ff8da

Please sign in to comment.