linux/drivers/of
Rob Herring 1c5e3d9bf3 of: Add a helper to free property struct
Freeing a property struct is 3 kfree()'s which is duplicated in multiple
spots. Add a helper, __of_prop_free(), and replace all the open coded
cases in the DT code.

Reviewed-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240409-dt-cleanup-free-v2-1-5b419a4af38d@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2024-04-15 08:40:40 -05:00
..
unittest-data of: Fix double free in of_parse_phandle_with_args_map 2024-01-09 12:54:02 -06:00
.kunitconfig of: Add KUnit test to confirm DTB is loaded 2024-03-08 12:50:39 -06:00
address.c dma-mapping: don't store redundant offsets 2023-12-15 12:32:42 +01:00
base.c powerpc updates for 6.9 2024-03-15 17:53:48 -07:00
cpu.c
device.c IOMMU Updates for Linux v6.8 2024-01-18 15:16:57 -08:00
dynamic.c of: Add a helper to free property struct 2024-04-15 08:40:40 -05:00
empty_root.dts of: Create of_root if no dtb provided by firmware 2024-03-08 12:50:39 -06:00
fdt_address.c
fdt.c of: Move all FDT reserved-memory handling into of_reserved_mem.c 2024-03-12 09:23:26 -06:00
irq.c
Kconfig of: Add KUnit test to confirm DTB is loaded 2024-03-08 12:50:39 -06:00
kexec.c arm64, crash: wrap crash dumping code into crash related ifdefs 2024-02-23 17:48:23 -08:00
kobj.c
Makefile of: Add KUnit test to confirm DTB is loaded 2024-03-08 12:50:39 -06:00
module.c
of_numa.c
of_private.h of: Add a helper to free property struct 2024-04-15 08:40:40 -05:00
of_reserved_mem.c of: Move all FDT reserved-memory handling into of_reserved_mem.c 2024-03-12 09:23:26 -06:00
of_test.c of: Add KUnit test to confirm DTB is loaded 2024-03-08 12:50:39 -06:00
overlay.c of: Add a helper to free property struct 2024-04-15 08:40:40 -05:00
pdt.c
platform.c of: Create of_root if no dtb provided by firmware 2024-03-08 12:50:39 -06:00
property.c Driver core changes for 6.9-rc1 2024-03-21 13:34:15 -07:00
resolver.c
unittest.c of: Add a helper to free property struct 2024-04-15 08:40:40 -05:00