summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-11 22:43:27 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-06-19 10:26:03 +0200
commit812a20df6048ba2945b1bda74c45143bbc3e4cda (patch)
tree4dc2e7f31a5031459f84c836823d51a86ca50e1c /drivers/mtd
parent3b270fac84439cbd036c98e189d17f2bc3c85494 (diff)
downloadlinux-stable-812a20df6048ba2945b1bda74c45143bbc3e4cda.tar.gz
linux-stable-812a20df6048ba2945b1bda74c45143bbc3e4cda.tar.bz2
linux-stable-812a20df6048ba2945b1bda74c45143bbc3e4cda.zip
mtd: maps: pismo: Switch back to use i2c_driver's .probe()
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit 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> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230611204327.828122-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/pismo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c
index 3e0fff3f129e..ecf68922da73 100644
--- a/drivers/mtd/maps/pismo.c
+++ b/drivers/mtd/maps/pismo.c
@@ -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,
};