mirror of
https://github.com/torvalds/linux
synced 2024-10-02 09:18:22 +00:00
mtd: maps: pismo: Switch back to use i2c_driver's .probe()
After commitb8a1a4cd5a
("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit03c835f498
("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> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230611204327.828122-1-u.kleine-koenig@pengutronix.de
This commit is contained in:
parent
3b270fac84
commit
812a20df60
|
@ -259,7 +259,7 @@ static struct i2c_driver pismo_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pismo",
|
.name = "pismo",
|
||||||
},
|
},
|
||||||
.probe_new = pismo_probe,
|
.probe = pismo_probe,
|
||||||
.remove = pismo_remove,
|
.remove = pismo_remove,
|
||||||
.id_table = pismo_id,
|
.id_table = pismo_id,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue