mbox series

[0/2] cxl: DT property accessor cleanups

Message ID 20240729-dt-cxl-cleanup-v1-0-a75eea80d231@kernel.org (mailing list archive)
Headers show
Series cxl: DT property accessor cleanups | expand

Message

Rob Herring (Arm) July 29, 2024, 10:36 p.m. UTC
This short series replaces the custom DT property accessors in the CXL 
driver with the common ones. The one difference is dumping the 
properties read out is removed. If that feature is really needed, then 
it should be implemented in the DT core for everyone. 

This is part of a larger effort to remove DT functions leaking DT data 
(e.g. of_get_property()).

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
Rob Herring (Arm) (2):
      cxl: Drop printing of DT properties
      cxl: Use of_property_ accessor functions

 drivers/misc/cxl/of.c  | 207 ++++++-------------------------------------------
 drivers/misc/cxl/pci.c |  32 ++++----
 2 files changed, 36 insertions(+), 203 deletions(-)
---
base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b
change-id: 20240729-dt-cxl-cleanup-eaf8185a99fc

Best regards,