summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <bero@baylibre.com>2022-11-29 03:33:56 +0100
committerLinus Walleij <linus.walleij@linaro.org>2022-12-03 10:18:55 +0100
commitb2de4316ec677e8dd09003682a1c843290b916f2 (patch)
tree94a04ebc043008eba4a5f348fb61374320965908 /drivers/pinctrl
parentpinctrl: mediatek: common: Remove check for pins-are-numbered (diff)
downloadlinux-b2de4316ec677e8dd09003682a1c843290b916f2.tar.xz
linux-b2de4316ec677e8dd09003682a1c843290b916f2.zip
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 <bero@baylibre.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20221129023401.278780-3-bero@baylibre.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/stm32/pinctrl-stm32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c
index cc9472b28404..1cddca506ad7 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32.c
@@ -1499,11 +1499,6 @@ int stm32_pctl_probe(struct platform_device *pdev)
if (!match_data)
return -EINVAL;
- if (!device_property_present(dev, "pins-are-numbered")) {
- dev_err(dev, "only support pins-are-numbered format\n");
- return -EINVAL;
- }
-
pctl = devm_kzalloc(dev, sizeof(*pctl), GFP_KERNEL);
if (!pctl)
return -ENOMEM;