diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-21 17:38:44 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-05-25 14:25:26 +0300 |
commit | 29554f2e9138d60012d0e0d53e6792f5f4da1fb6 (patch) | |
tree | 3637689e0fa0da119c029ac67916b8e14fe51f7b /drivers/video/backlight/lm3639_bl.c | |
parent | ae9c48087f50f2373e62dc2e0fb63178e256f351 (diff) | |
download | linux-29554f2e9138d60012d0e0d53e6792f5f4da1fb6.tar.xz |
backlight: Switch i2c drivers back to use .probe()
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@pengutronix.de>
Link: https://lore.kernel.org/r/20230521143844.375244-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/video/backlight/lm3639_bl.c')
-rw-r--r-- | drivers/video/backlight/lm3639_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c index a836628ce06e..5246c171497d 100644 --- a/drivers/video/backlight/lm3639_bl.c +++ b/drivers/video/backlight/lm3639_bl.c @@ -411,7 +411,7 @@ static struct i2c_driver lm3639_i2c_driver = { .driver = { .name = LM3639_NAME, }, - .probe_new = lm3639_probe, + .probe = lm3639_probe, .remove = lm3639_remove, .id_table = lm3639_id, }; |