From: Uwe Kleine-König Date: Sun, 11 Jun 2023 20:43:27 +0000 (+0200) Subject: mtd: maps: pismo: Switch back to use i2c_driver's .probe() X-Git-Tag: v6.6.7~2542^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=812a20df6048ba2945b1bda74c45143bbc3e4cda;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20230611204327.828122-1-u.kleine-koenig@pengutronix.de --- diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c index 3e0fff3..ecf6892 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, };