]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl: Use of_property_ accessor functions
authorRob Herring (Arm) <robh@kernel.org>
Mon, 29 Jul 2024 22:36:44 +0000 (16:36 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 11:57:05 +0000 (13:57 +0200)
commit5c4efc60551c0e2a51371ccb0709180a1537f7f8
tree45e40a0d9c347131c3601ac75d5aedeb9cb33ecd
parent35fc26541f79071c14f314951c0c7604852c8839
cxl: Use of_property_ accessor functions

The CXL driver has its own custom implementations of typed DT property
accessors. Replace the custom property accessor functions with the
common DT property functions.

This clean-up is part of a larger effort to remove of_get_property() and
other DT functions which leak pointers to DT node and property data.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240729-dt-cxl-cleanup-v1-2-a75eea80d231@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cxl/of.c
drivers/misc/cxl/pci.c