diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-06 01:02:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-08 02:50:11 +0300 |
commit | 964e186547b22b9c3b23fee49eb993391aa73ea8 (patch) | |
tree | 26dd0216fddb7443b748cff73246dab31f61ad50 /drivers/regulator/max8649.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | linux-964e186547b22b9c3b23fee49eb993391aa73ea8.tar.xz |
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/max8649.c')
-rw-r--r-- | drivers/regulator/max8649.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c index a517fb4e3669..24e1dfba78c8 100644 --- a/drivers/regulator/max8649.c +++ b/drivers/regulator/max8649.c @@ -246,7 +246,7 @@ static const struct i2c_device_id max8649_id[] = { MODULE_DEVICE_TABLE(i2c, max8649_id); static struct i2c_driver max8649_driver = { - .probe_new = max8649_regulator_probe, + .probe = max8649_regulator_probe, .driver = { .name = "max8649", .probe_type = PROBE_PREFER_ASYNCHRONOUS, |