From: Lee Jones <lee@kernel.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Pavel Machek <pavel@ucw.cz>,
linux-leds@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH] leds: Switch i2c drivers back to use .probe()
Date: Thu, 18 May 2023 10:35:47 +0100 [thread overview]
Message-ID: <20230518093547.GB404509@google.com> (raw)
In-Reply-To: <20230517180559.166329-1-u.kleine-koenig@pengutronix.de>
On Wed, 17 May 2023, Uwe Kleine-König wrote:
> After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type"), all drivers being converted to .probe_new() and then
> 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter") convert
> back to (the new) .probe() to be able to eventually drop .probe_new() from
> struct i2c_driver.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> Hello,
>
> this patch was generated using coccinelle, but I aligned the result to
> the per-file indention. Other than that it's just s/probe_new/probe/.
>
> I used v6.4-rc1 as base for this patch, but it also fits on top of
> today's next master. If there are some conflicts when you apply it, feel
> free to just drop all conflicting hunks, I'll care about the fallout
> later.
>
> I chose to do this in a single patch for all drivers below
> drivers/leds. If you want me to split it, just tell me.
>
> Also note I didn't Cc: all the individual maintainers to not exceed the
> allowed length of To: and Cc:. If this patch will be split I can extend
> the audience accordingly.
>
> Best regards
> Uwe
>
> drivers/leds/flash/leds-as3645a.c | 2 +-
> drivers/leds/flash/leds-lm3601x.c | 2 +-
> drivers/leds/flash/leds-rt4505.c | 2 +-
> drivers/leds/leds-an30259a.c | 2 +-
> drivers/leds/leds-aw2013.c | 2 +-
> drivers/leds/leds-bd2606mvv.c | 2 +-
> drivers/leds/leds-bd2802.c | 2 +-
> drivers/leds/leds-blinkm.c | 2 +-
> drivers/leds/leds-is31fl319x.c | 2 +-
> drivers/leds/leds-is31fl32xx.c | 2 +-
> drivers/leds/leds-lm3530.c | 2 +-
> drivers/leds/leds-lm3532.c | 2 +-
> drivers/leds/leds-lm355x.c | 2 +-
> drivers/leds/leds-lm3642.c | 2 +-
> drivers/leds/leds-lm3692x.c | 2 +-
> drivers/leds/leds-lm3697.c | 2 +-
> drivers/leds/leds-lp3944.c | 2 +-
> drivers/leds/leds-lp3952.c | 2 +-
> drivers/leds/leds-lp50xx.c | 2 +-
> drivers/leds/leds-lp5521.c | 2 +-
> drivers/leds/leds-lp5523.c | 2 +-
> drivers/leds/leds-lp5562.c | 2 +-
> drivers/leds/leds-lp8501.c | 2 +-
> drivers/leds/leds-lp8860.c | 2 +-
> drivers/leds/leds-pca9532.c | 2 +-
> drivers/leds/leds-pca955x.c | 2 +-
> drivers/leds/leds-pca963x.c | 2 +-
> drivers/leds/leds-tca6507.c | 2 +-
> drivers/leds/leds-tlc591xx.c | 2 +-
> drivers/leds/leds-turris-omnia.c | 2 +-
> 30 files changed, 30 insertions(+), 30 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
prev parent reply other threads:[~2023-05-18 9:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 18:05 [PATCH] leds: Switch i2c drivers back to use .probe() Uwe Kleine-König
2023-05-18 9:35 ` Lee Jones [this message]
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=20230518093547.GB404509@google.com \
--to=lee@kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=u.kleine-koenig@pengutronix.de \
/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).