Skip to content

Commit e64c82b

Browse files
Uwe Kleine-Königcminyard
authored andcommitted
ipmi: Switch i2c drivers 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]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
1 parent 9930702 commit e64c82b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

drivers/char/ipmi/ipmb_dev_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static struct i2c_driver ipmb_driver = {
366366
.name = "ipmb-dev",
367367
.acpi_match_table = ACPI_PTR(acpi_ipmb_id),
368368
},
369-
.probe_new = ipmb_probe,
369+
.probe = ipmb_probe,
370370
.remove = ipmb_remove,
371371
.id_table = ipmb_id,
372372
};

drivers/char/ipmi/ipmi_ipmb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ static struct i2c_driver ipmi_ipmb_driver = {
572572
.name = DEVICE_NAME,
573573
.of_match_table = of_ipmi_ipmb_match,
574574
},
575-
.probe_new = ipmi_ipmb_probe,
575+
.probe = ipmi_ipmb_probe,
576576
.remove = ipmi_ipmb_remove,
577577
.id_table = ipmi_ipmb_id,
578578
};

drivers/char/ipmi/ipmi_ssif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@ static struct i2c_driver ssif_i2c_driver = {
20542054
.driver = {
20552055
.name = DEVICE_NAME
20562056
},
2057-
.probe_new = ssif_probe,
2057+
.probe = ssif_probe,
20582058
.remove = ssif_remove,
20592059
.alert = ssif_alert,
20602060
.id_table = ssif_id,

drivers/char/ipmi/ssif_bmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ static struct i2c_driver ssif_bmc_driver = {
860860
.name = DEVICE_NAME,
861861
.of_match_table = ssif_bmc_match,
862862
},
863-
.probe_new = ssif_bmc_probe,
863+
.probe = ssif_bmc_probe,
864864
.remove = ssif_bmc_remove,
865865
.id_table = ssif_bmc_id,
866866
};

0 commit comments

Comments
 (0)