pinctrl: Use of_property_present() for non-boolean properties
authorRob Herring (Arm) <robh@kernel.org>
Mon, 4 Nov 2024 19:44:36 +0000 (13:44 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Nov 2024 08:02:15 +0000 (09:02 +0100)
commit86db3f0dfa962c552caec6e5559c68f1d86fe459
tree679d90b6ac765b42cfa868d4a1568b3f5545dd66
parent546ee7b89070b0fe6eedba99fd277524b32cdbb7
pinctrl: Use of_property_present() for non-boolean properties

The use of of_property_read_bool() for non-boolean properties is
deprecated in favor of of_property_present() when testing for property
presence.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/20241104194437.327430-1-robh@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/pinctrl-xway.c
drivers/pinctrl/qcom/pinctrl-msm.c
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c