[PATCH 0/3] spi: mpc52xx-psc: Modernize probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This started as just removing open coded parsing and address translation 
of "reg", and ended up with cleaning up the probe functions to use 
modern, preferred APIs for driver probe.

It is compile tested only.

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
---
Rob Herring (3):
      spi: mpc5xxx-psc: Remove unused platform_data
      spi: mpc5xxx-psc: Convert probe to use devres functions
      spi: mpc5xxx-psc: Use platform resources instead of parsing DT properties

 drivers/spi/spi-mpc512x-psc.c |  90 +++++++--------------------
 drivers/spi/spi-mpc52xx-psc.c | 138 +++++++-----------------------------------
 2 files changed, 44 insertions(+), 184 deletions(-)
---
base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2
change-id: 20230217-dt-mpc5xxx-spi-0c35dbfe10fa

Best regards,
-- 
Rob Herring <robh@xxxxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux