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/lv5207lp.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/lv5207lp.c')
-rw-r--r-- | drivers/video/backlight/lv5207lp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lv5207lp.c b/drivers/video/backlight/lv5207lp.c index 00673c8b66ac..56695ce67e48 100644 --- a/drivers/video/backlight/lv5207lp.c +++ b/drivers/video/backlight/lv5207lp.c @@ -141,7 +141,7 @@ static struct i2c_driver lv5207lp_driver = { .driver = { .name = "lv5207lp", }, - .probe_new = lv5207lp_probe, + .probe = lv5207lp_probe, .remove = lv5207lp_remove, .id_table = lv5207lp_ids, }; |