aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/spi/spi-mem.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-02-17 14:45:42 -0600
committerMark Brown <broonie@kernel.org>2023-03-05 23:39:02 +0000
commit60a6c8257f4144f49a7e0178603dd61ef4424a67 (patch)
tree13b50c8a3f41a6d2b829d758f2169cb5eafa36b5 /drivers/spi/spi-mem.c
parentspi: mpc5xxx-psc: Convert probe to use devres functions (diff)
downloadwireguard-linux-60a6c8257f4144f49a7e0178603dd61ef4424a67.tar.xz
wireguard-linux-60a6c8257f4144f49a7e0178603dd61ef4424a67.zip
spi: mpc5xxx-psc: Use platform resources instead of parsing DT properties
The mpc52xx-psc and mpc512x-psc drivers use DT property parsing functions for 'reg' and 'interrupts', but those are available as platform device resources. Convert probe functions to use them and simplify probe to a single function. For 'cell-index', also use the preferred typed property function. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230217-dt-mpc5xxx-spi-v1-3-3be8602fce1e@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mem.c')
0 files changed, 0 insertions, 0 deletions