regulator: max77857: Switch back to use struct i2c_driver's .probe()

After commit b8a1a4cd5a ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
commit 03c835f498 ("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/20230718201453.3953602-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Uwe Kleine-König 2023-07-18 22:14:53 +02:00 committed by Mark Brown
parent 6023fffc3e
commit 2920e08bef
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ struct i2c_driver max77857_driver = {
.of_match_table = max77857_of_id,
},
.id_table = max77857_id,
.probe_new = max77857_probe,
.probe = max77857_probe,
};
module_i2c_driver(max77857_driver);