Skip to content

Commit aeaee15

Browse files
Uwe Kleine-Königjwrdegoede
authored andcommitted
platform/x86: int3472: 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 bba73a1 commit aeaee15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/intel/int3472/tps68470.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static struct i2c_driver int3472_tps68470 = {
250250
.name = "int3472-tps68470",
251251
.acpi_match_table = int3472_device_id,
252252
},
253-
.probe_new = skl_int3472_tps68470_probe,
253+
.probe = skl_int3472_tps68470_probe,
254254
.remove = skl_int3472_tps68470_remove,
255255
};
256256
module_i2c_driver(int3472_tps68470);

0 commit comments

Comments
 (0)