diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-21 16:38:44 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-05-25 13:25:26 +0200 |
commit | 29554f2e9138d60012d0e0d53e6792f5f4da1fb6 (patch) | |
tree | 3637689e0fa0da119c029ac67916b8e14fe51f7b /drivers/video/backlight/adp8860_bl.c | |
parent | backlight: lm3630a: Turn off both led strings when display is blank (diff) | |
download | linux-29554f2e9138d60012d0e0d53e6792f5f4da1fb6.tar.xz linux-29554f2e9138d60012d0e0d53e6792f5f4da1fb6.zip |
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/adp8860_bl.c')
-rw-r--r-- | drivers/video/backlight/adp8860_bl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c index a479aab90f78..f51ada4795e8 100644 --- a/drivers/video/backlight/adp8860_bl.c +++ b/drivers/video/backlight/adp8860_bl.c @@ -803,8 +803,8 @@ static struct i2c_driver adp8860_driver = { .name = KBUILD_MODNAME, .pm = &adp8860_i2c_pm_ops, }, - .probe_new = adp8860_probe, - .remove = adp8860_remove, + .probe = adp8860_probe, + .remove = adp8860_remove, .id_table = adp8860_id, }; |