mtd: maps: pismo: Switch back to use 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>
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:
Uwe Kleine-König 2023-06-11 22:43:27 +02:00 committed by Miquel Raynal
parent 3b270fac84
commit 812a20df60
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ static struct i2c_driver pismo_driver = {
.driver = {
.name = "pismo",
},
.probe_new = pismo_probe,
.probe = pismo_probe,
.remove = pismo_remove,
.id_table = pismo_id,
};