diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-06 00:02:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-08 08:50:11 +0900 |
commit | 964e186547b22b9c3b23fee49eb993391aa73ea8 (patch) | |
tree | 26dd0216fddb7443b748cff73246dab31f61ad50 /drivers/regulator/rtmv20-regulator.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | lwn-964e186547b22b9c3b23fee49eb993391aa73ea8.tar.gz lwn-964e186547b22b9c3b23fee49eb993391aa73ea8.zip |
regulator: 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/20230505220218.1239542-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'drivers/regulator/rtmv20-regulator.c')
-rw-r--r-- | drivers/regulator/rtmv20-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rtmv20-regulator.c b/drivers/regulator/rtmv20-regulator.c index 7cbb812477e1..dfd1522637e4 100644 --- a/drivers/regulator/rtmv20-regulator.c +++ b/drivers/regulator/rtmv20-regulator.c @@ -429,7 +429,7 @@ static struct i2c_driver rtmv20_driver = { .of_match_table = of_match_ptr(rtmv20_of_id), .pm = &rtmv20_pm, }, - .probe_new = rtmv20_probe, + .probe = rtmv20_probe, }; module_i2c_driver(rtmv20_driver); |