Skip to content

Commit b2de431

Browse files
berolinuxlinusw
authored andcommitted
pinctrl: stm32: Remove check for pins-are-numbered
Remove the check for the unnecessary pins-are-numbered DeviceTree property Signed-off-by: Bernhard Rosenkränzer <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 78ee2e0 commit b2de431

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/pinctrl/stm32/pinctrl-stm32.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,11 +1499,6 @@ int stm32_pctl_probe(struct platform_device *pdev)
14991499
if (!match_data)
15001500
return -EINVAL;
15011501

1502-
if (!device_property_present(dev, "pins-are-numbered")) {
1503-
dev_err(dev, "only support pins-are-numbered format\n");
1504-
return -EINVAL;
1505-
}
1506-
15071502
pctl = devm_kzalloc(dev, sizeof(*pctl), GFP_KERNEL);
15081503
if (!pctl)
15091504
return -ENOMEM;

0 commit comments

Comments
 (0)