linux/drivers/pinctrl/sunxi
Rob Herring e0e8fbf846 pinctrl: Use of_property_present() for testing DT property presence
It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties. As
part of this, convert of_get_property/of_find_property calls to the
recently added of_property_present() helper when we just want to test
for presence of a property and nothing more.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230310144721.1544669-1-robh@kernel.org
[Dropped hunk hitting drivers/pinctrl/renesas/pinctrl.c]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-03-23 09:28:38 +01:00
..
Kconfig pinctrl: sunxi: Add driver for Allwinner D1 2022-07-18 11:39:33 +02:00
Makefile pinctrl: sunxi: Add driver for Allwinner D1 2022-07-18 11:39:33 +02:00
pinctrl-sun4i-a10.c pinctrl: sunxi: fix a typo when merging A20 support to A10 driver 2017-12-28 15:06:01 +01:00
pinctrl-sun5i.c pinctrl: sunxi: Disable strict mode for old pinctrl drivers 2017-10-31 09:45:00 +01:00
pinctrl-sun6i-a31-r.c pinctrl: sunxi: Remove reset controller consumers 2022-06-15 15:54:37 +02:00
pinctrl-sun6i-a31.c pinctrl: sunxi: Disable strict mode for old pinctrl drivers 2017-10-31 09:45:00 +01:00
pinctrl-sun8i-a23-r.c pinctrl: sunxi: Remove reset controller consumers 2022-06-15 15:54:37 +02:00
pinctrl-sun8i-a23.c pinctrl: sunxi: Disable strict mode for old pinctrl drivers 2017-10-31 09:45:00 +01:00
pinctrl-sun8i-a33.c pinctrl: sunxi: change irq_bank_base to irq_bank_map 2018-03-27 15:07:49 +02:00
pinctrl-sun8i-a83t-r.c pinctrl: sunxi: Remove reset controller consumers 2022-06-15 15:54:37 +02:00
pinctrl-sun8i-a83t.c pinctrl: sunxi: a83t: Fix NAND function name for some pins 2022-06-15 15:19:57 +02:00
pinctrl-sun8i-h3-r.c pinctrl: sunxi: Disable strict mode for old pinctrl drivers 2017-10-31 09:45:00 +01:00
pinctrl-sun8i-h3.c pinctrl: sunxi: Disable strict mode for old pinctrl drivers 2017-10-31 09:45:00 +01:00
pinctrl-sun8i-v3s.c pinctrl: sunxi: v3s: introduce support for V3 2019-08-05 12:35:29 +02:00
pinctrl-sun9i-a80-r.c pinctrl: sunxi: Remove reset controller consumers 2022-06-15 15:54:37 +02:00
pinctrl-sun9i-a80.c pinctrl: sunxi: Prepare for alternative bias voltage setting methods 2019-04-23 12:29:21 +02:00
pinctrl-sun20i-d1.c pinctrl: sunxi: d1: Add CAN bus pinmuxes 2022-11-26 22:57:50 +01:00
pinctrl-sun50i-a64-r.c pinctrl: sunxi: Remove reset controller consumers 2022-06-15 15:54:37 +02:00
pinctrl-sun50i-a64.c pinctrl: sunxi: a64: Rename function ts0 to ts 2018-12-07 13:29:28 +01:00
pinctrl-sun50i-a100-r.c pinctrl: sunxi: Fix name for A100 R_PIO 2022-08-26 10:37:24 +02:00
pinctrl-sun50i-a100.c pinctrl: sunxi: Support the 2.5V I/O bias mode 2022-07-18 11:39:33 +02:00
pinctrl-sun50i-h5.c pinctrl: sunxi: sun50i-h5: Switch to use dev_err_probe() helper 2022-09-20 11:18:24 +02:00
pinctrl-sun50i-h6-r.c pinctrl: sunxi: Add I/O bias setting for H6 R-PIO 2022-07-18 11:39:33 +02:00
pinctrl-sun50i-h6.c pinctrl: sunxi: Support I/O bias voltage setting on H6 2019-04-23 12:31:42 +02:00
pinctrl-sun50i-h616-r.c pinctrl: sunxi: Remove reset controller consumers 2022-06-15 15:54:37 +02:00
pinctrl-sun50i-h616.c pinctrl: sunxi: Support the 2.5V I/O bias mode 2022-07-18 11:39:33 +02:00
pinctrl-suniv-f1c100s.c pinctrl: sunxi: f1c100s: Fix signal name comment for PA2 SPI pin 2022-05-14 01:07:08 +02:00
pinctrl-sunxi.c pinctrl: Use of_property_present() for testing DT property presence 2023-03-23 09:28:38 +01:00
pinctrl-sunxi.h pinctrl: sunxi: Add driver for Allwinner D1 2022-07-18 11:39:33 +02:00