linux/drivers/of
Zijun Hu 161e7e4671 of/platform: Do not use of_get_property() to test property presence
Use of_property_present() instead of of_get_property() to test property
'compatible' presence in of_platform_bus_create().

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250224-of_bugfix-v1-5-03640ae8c3a6@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
History 2025-02-25 13:58:46 -06:00
..
unittest-data of: unittest: Add a case to test if API of_irq_parse_raw() leaks refcount 2025-02-25 07:16:50 -06:00
.kunitconfig of: Allow overlay kunit tests to run CONFIG_OF_OVERLAY=n 2024-11-15 14:03:28 -06:00
address.c pci-v6.14-changes 2025-01-25 16:03:40 -08:00
base.c of: Correct property name comparison in __of_add_property() 2025-02-25 13:58:46 -06:00
cpu.c of: Constify struct device_node function arguments 2024-10-15 08:58:36 -05:00
device.c OF: Simplify of_iommu_configure() 2024-07-04 14:36:04 +01:00
dynamic.c of: dynamic: Add of_changeset_update_prop_string 2024-11-27 12:03:48 +01:00
empty_root.dts of: Add #address-cells/#size-cells in the device-tree root empty node 2024-12-02 09:26:33 -06:00
fdt.c The various patchsets are summarized below. Plus of course many 2025-01-26 18:36:23 -08:00
fdt_address.c of: Remove a duplicated code block 2025-01-13 08:39:28 -06:00
irq.c of/irq: Add comments about refcount for API of_irq_find_parent() 2025-02-25 07:16:50 -06:00
Kconfig Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
kexec.c of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-10-29 15:32:45 -05:00
kobj.c of: Constify 'struct bin_attribute' 2024-12-31 07:55:16 -06:00
kunit_overlay_test.dtso of: Add a KUnit test for overlays and test managed APIs 2024-07-29 15:33:12 -07:00
Makefile of: Add a KUnit test for overlays and test managed APIs 2024-07-29 15:33:12 -07:00
module.c of: module: remove strlen() call in of_modalias() 2024-10-16 12:00:10 -05:00
of_kunit_helpers.c of: Skip kunit tests when arm64+ACPI doesn't populate root node 2024-10-10 12:43:01 -05:00
of_numa.c of:of_numa: remove unused macro 2024-10-08 09:47:30 -05:00
of_private.h of: Introduce and apply private is_pseudo_property() 2025-02-25 08:43:00 -06:00
of_reserved_mem.c of: reserved-memory: Warn for missing static reserved memory regions 2025-01-17 08:52:57 -06:00
of_test.c of: Skip kunit tests when arm64+ACPI doesn't populate root node 2024-10-10 12:43:01 -05:00
overlay.c of: Introduce and apply private is_pseudo_property() 2025-02-25 08:43:00 -06:00
overlay_test.c of: Allow overlay kunit tests to run CONFIG_OF_OVERLAY=n 2024-11-15 14:03:28 -06:00
pdt.c of: Do not expose of_alias_scan() and correct its comments 2025-01-17 08:52:57 -06:00
platform.c of/platform: Do not use of_get_property() to test property presence 2025-02-25 13:58:46 -06:00
property.c Devicetree updates for v6.14: 2025-01-24 15:09:20 -08:00
resolver.c of: Introduce and apply private is_pseudo_property() 2025-02-25 08:43:00 -06:00
unittest.c of: unittest: Add a case to test if API of_irq_parse_raw() leaks refcount 2025-02-25 07:16:50 -06:00