Thread (2 messages) 2 messages, 2 authors, 2023-05-25

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

From: Lee Jones <lee@kernel.org>
Date: 2023-05-25 11:24:55
Also in: dri-devel

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 <redacted>
---
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 [李琼斯]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help