Skip to content

Commit 812a20d

Browse files
Uwe Kleine-Königmiquelraynal
authored andcommitted
mtd: maps: pismo: Switch back to use i2c_driver's .probe()
After commit b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit 03c835f ("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
1 parent 3b270fa commit 812a20d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/maps/pismo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static struct i2c_driver pismo_driver = {
259259
.driver = {
260260
.name = "pismo",
261261
},
262-
.probe_new = pismo_probe,
262+
.probe = pismo_probe,
263263
.remove = pismo_remove,
264264
.id_table = pismo_id,
265265
};

0 commit comments

Comments
 (0)