Input: Switch i2c drivers back to use .probe()
After commitb8a1a4cd5a("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498("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:
committed by
Dmitry Torokhov
parent
17caa38a98
commit
d8bde56dfd
@@ -679,7 +679,7 @@ static struct i2c_driver ilitek_ts_i2c_driver = {
|
||||
.of_match_table = of_match_ptr(ilitek_ts_i2c_match),
|
||||
.acpi_match_table = ACPI_PTR(ilitekts_acpi_id),
|
||||
},
|
||||
.probe_new = ilitek_ts_i2c_probe,
|
||||
.probe = ilitek_ts_i2c_probe,
|
||||
.id_table = ilitek_ts_i2c_id,
|
||||
};
|
||||
module_i2c_driver(ilitek_ts_i2c_driver);
|
||||
|
||||
Reference in New Issue
Block a user