From: Uwe Kleine-König Date: Thu, 25 May 2023 21:08:37 +0000 (+0200) Subject: watchdog: ziirave_wdt: Switch i2c driver back to use .probe() X-Git-Tag: v6.6.7~2371^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cf2cc304fd9c37ea1a09b5c10279074e940f5f1;p=platform%2Fkernel%2Flinux-starfive.git watchdog: ziirave_wdt: Switch i2c driver back to use .probe() After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then 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 Reviewed-by: Guenter Roeck Link: https://lkml.kernel.org/r/20230525210837.735447-1-u.kleine-koenig@pengutronix.de Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/ziirave_wdt.c b/drivers/watchdog/ziirave_wdt.c index 21ca08a..5ed33df 100644 --- a/drivers/watchdog/ziirave_wdt.c +++ b/drivers/watchdog/ziirave_wdt.c @@ -731,7 +731,7 @@ static struct i2c_driver ziirave_wdt_driver = { .name = "ziirave_wdt", .of_match_table = zrv_wdt_of_match, }, - .probe_new = ziirave_wdt_probe, + .probe = ziirave_wdt_probe, .remove = ziirave_wdt_remove, .id_table = ziirave_wdt_id, };