Skip to content

Commit bba73a1

Browse files
Uwe Kleine-Königjwrdegoede
authored andcommitted
platform/x86: asus-tf103c-dock: Switch back to use struct 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 8802fcf commit bba73a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/asus-tf103c-dock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ static struct i2c_driver tf103c_dock_driver = {
933933
.pm = &tf103c_dock_pm_ops,
934934
.acpi_match_table = tf103c_dock_acpi_match,
935935
},
936-
.probe_new = tf103c_dock_probe,
936+
.probe = tf103c_dock_probe,
937937
.remove = tf103c_dock_remove,
938938
};
939939
module_i2c_driver(tf103c_dock_driver);

0 commit comments

Comments
 (0)