linux-stable/arch/powerpc/platforms/powermac
Rob Herring 857d423c74 powerpc: 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>
[mpe: Drop change in ppc4xx_probe_pci_bridge(), formatting]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230310144657.1541039-1-robh@kernel.org
2023-03-30 23:36:35 +11:00
..
backlight.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
bootx_init.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
cache.S powerpc/mm: Switch obsolete dssall to .long 2021-12-23 22:35:13 +11:00
feature.c powerpc/powermac/feature: Add missing of_node_put() 2022-09-05 17:30:29 +10:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
low_i2c.c powerpc/powermac/low_i2c: Add missing of_node_put() in kw_i2c_probe() 2022-09-05 17:30:29 +10:00
Makefile kbuild: remove cc-option test of -fno-stack-protector 2020-07-07 11:13:10 +09:00
nvram.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
pfunc_base.c powerpc/powermac/pfunc_base: Add missing of_node_put() in macio_gpio_init_one() 2022-09-05 17:30:29 +10:00
pfunc_core.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
pic.c powerpc: Use of_property_present() for testing DT property presence 2023-03-30 23:36:35 +11:00
pmac.h powerpc/powermac: add missing g5_phy_disable_cpu1() declaration 2022-05-22 15:59:54 +10:00
setup.c powerpc/powermac: Fix symbol not declared warnings 2022-11-24 23:31:50 +11:00
sleep.S powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK 2020-12-08 21:41:03 +11:00
smp.c powerpc/powermac: Add missing of_node_put() in smp_core99_setup() 2022-09-05 17:30:24 +10:00
time.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
udbg_adb.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
udbg_scc.c powerpc/powermac/udbg_scc: Add missing of_node_put()s in udbg_scc_init() 2022-09-05 17:30:30 +10:00