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

Lee Jones lee at kernel.org
Thu May 25 11:24:41 UTC 2023


On Sun, 21 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.
> 
> Also fix two indention inconsistencies in the neighbourhood.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
> Hello,
> 
> this patch was generated using coccinelle, but I aligned the result to
> the per-file indention.
> 
> This is one patch for the whole backlight subsystem. If you want it
> split per driver for improved patch count numbers, please tell me.
> 
> Currently there are no changes to drivers/video/backlight in next, so
> the change should apply fine. If however there are other changes that
> result in conflicts, feel free to just drop the hunks in the relevant
> files and apply anyhow. I'll care about the fallout later.
> 
> Best regards
> Uwe
> 
> 
>  drivers/video/backlight/adp8860_bl.c | 4 ++--
>  drivers/video/backlight/adp8870_bl.c | 4 ++--
>  drivers/video/backlight/arcxcnn_bl.c | 2 +-
>  drivers/video/backlight/bd6107.c     | 2 +-
>  drivers/video/backlight/ktz8866.c    | 2 +-
>  drivers/video/backlight/lm3630a_bl.c | 2 +-
>  drivers/video/backlight/lm3639_bl.c  | 2 +-
>  drivers/video/backlight/lp855x_bl.c  | 2 +-
>  drivers/video/backlight/lv5207lp.c   | 2 +-
>  9 files changed, 11 insertions(+), 11 deletions(-)

Applied, thanks

-- 
Lee Jones [李琼斯]


More information about the dri-devel mailing list