Input: Switch i2c drivers back to use .probe()

After commit b8a1a4cd5a ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
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/20230517164645.162294-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Uwe Kleine-König
2023-05-17 09:55:42 -07:00
committed by Dmitry Torokhov
parent 17caa38a98
commit d8bde56dfd
92 changed files with 92 additions and 92 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ static struct i2c_driver as5011_driver = {
.driver = {
.name = "as5011",
},
.probe_new = as5011_probe,
.probe = as5011_probe,
.remove = as5011_remove,
.id_table = as5011_id,
};
+1 -1
View File
@@ -137,7 +137,7 @@ static struct i2c_driver qwiic_driver = {
.of_match_table = of_match_ptr(of_qwiic_match),
},
.id_table = qwiic_id_table,
.probe_new = qwiic_probe,
.probe = qwiic_probe,
};
module_i2c_driver(qwiic_driver);