diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-17 20:05:59 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-05-25 12:16:22 +0100 |
commit | d9ff8a8eecf8ad70aadc54cce39208b3957f2c6a (patch) | |
tree | a794060600daeeab9db8b98e97166a21a3272083 /drivers/leds/leds-tca6507.c | |
parent | b0f379bd6e9c2dcf1209f99612783d5f9357b33a (diff) | |
download | lwn-d9ff8a8eecf8ad70aadc54cce39208b3957f2c6a.tar.gz lwn-d9ff8a8eecf8ad70aadc54cce39208b3957f2c6a.zip |
leds: 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.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230517180559.166329-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-tca6507.c')
-rw-r--r-- | drivers/leds/leds-tca6507.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds/leds-tca6507.c index 634cabd5bb79..aab861771210 100644 --- a/drivers/leds/leds-tca6507.c +++ b/drivers/leds/leds-tca6507.c @@ -808,7 +808,7 @@ static struct i2c_driver tca6507_driver = { .name = "leds-tca6507", .of_match_table = of_match_ptr(of_tca6507_leds_match), }, - .probe_new = tca6507_probe, + .probe = tca6507_probe, .remove = tca6507_remove, .id_table = tca6507_id, }; |