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/bd6107.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/bd6107.c')
-rw-r--r-- | drivers/video/backlight/bd6107.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/bd6107.c b/drivers/video/backlight/bd6107.c index f4db6c064635..7df25faa07a5 100644 --- a/drivers/video/backlight/bd6107.c +++ b/drivers/video/backlight/bd6107.c @@ -192,7 +192,7 @@ static struct i2c_driver bd6107_driver = { .driver = { .name = "bd6107", }, - .probe_new = bd6107_probe, + .probe = bd6107_probe, .remove = bd6107_remove, .id_table = bd6107_ids, }; |