linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] spi: mpc52xx-psc: Modernize probe
Date: Fri, 17 Feb 2023 14:45:39 -0600	[thread overview]
Message-ID: <20230217-dt-mpc5xxx-spi-v1-0-3be8602fce1e@kernel.org> (raw)

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@kernel.org>
---
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@kernel.org>


             reply	other threads:[~2023-02-17 20:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 20:45 Rob Herring [this message]
2023-02-17 20:45 ` [PATCH 1/3] spi: mpc5xxx-psc: Remove unused platform_data Rob Herring
2023-02-17 20:45 ` [PATCH 2/3] spi: mpc5xxx-psc: Convert probe to use devres functions Rob Herring
2023-02-17 20:45 ` [PATCH 3/3] spi: mpc5xxx-psc: Use platform resources instead of parsing DT properties Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230217-dt-mpc5xxx-spi-v1-0-3be8602fce1e@kernel.org \
    --to=robh@kernel.org \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).