staging: most: Switch i2c driver 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/20230524151646.486847-6-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
28f5930b66
commit
b36be72b5a
@ -362,7 +362,7 @@ static struct i2c_driver i2c_driver = {
|
|||||||
.driver = {
|
.driver = {
|
||||||
.name = "hdm_i2c",
|
.name = "hdm_i2c",
|
||||||
},
|
},
|
||||||
.probe_new = i2c_probe,
|
.probe = i2c_probe,
|
||||||
.remove = i2c_remove,
|
.remove = i2c_remove,
|
||||||
.id_table = i2c_id,
|
.id_table = i2c_id,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user