Skip to content

Commit 8802fcf

Browse files
Uwe Kleine-Königjwrdegoede
authored andcommitted
platform/surface: surface3_power: 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]> Acked-by: Maximilian Luz <[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 f2b689a commit 8802fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/surface/surface3_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ static const struct acpi_device_id mshw0011_acpi_match[] = {
573573
MODULE_DEVICE_TABLE(acpi, mshw0011_acpi_match);
574574

575575
static struct i2c_driver mshw0011_driver = {
576-
.probe_new = mshw0011_probe,
576+
.probe = mshw0011_probe,
577577
.remove = mshw0011_remove,
578578
.driver = {
579579
.name = "mshw0011",

0 commit comments

Comments
 (0)