Skip to content

Commit 6cf2cc3

Browse files
Uwe Kleine-KönigWim Van Sebroeck
authored andcommitted
watchdog: ziirave_wdt: Switch i2c driver back to use .probe()
After commit b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then 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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 8d2e149 commit 6cf2cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/ziirave_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ static struct i2c_driver ziirave_wdt_driver = {
731731
.name = "ziirave_wdt",
732732
.of_match_table = zrv_wdt_of_match,
733733
},
734-
.probe_new = ziirave_wdt_probe,
734+
.probe = ziirave_wdt_probe,
735735
.remove = ziirave_wdt_remove,
736736
.id_table = ziirave_wdt_id,
737737
};

0 commit comments

Comments
 (0)