linux/arch/powerpc/platforms/44x
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
..
44x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
canyonlands.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
ebony.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
fsp2.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
fsp2.h powerpc/44x/fsp2: Add fsp2 headers 2017-12-11 13:03:32 +11:00
idle.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
iss4xx.c powerpc: Use of_property_present() for testing DT property presence 2023-03-30 23:36:35 +11:00
Kconfig powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
machine_check.c powerpc: Add esr as a synonym for pt_regs.dsisr 2021-08-26 21:21:06 +10:00
Makefile powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
misc_44x.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ppc44x_simple.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
ppc476_modules.lds ppc476: Enable a linker work around for IBM errata #46 2014-05-01 08:26:34 +10:00
ppc476.c powerpc: Use of_property_present() for testing DT property presence 2023-03-30 23:36:35 +11:00
sam440ep.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
warp.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00