Re: [PATCH] leds: Switch i2c drivers back to use .probe()

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

 



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@xxxxxxxxxxxxxx>
> ---
> 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 [李琼斯]



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux