mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
ipmi: Switch i2c drivers back to use .probe()
After commitb8a1a4cd5a
("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498
("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 <u.kleine-koenig@pengutronix.de> Message-Id: <20230525204021.696858-1-u.kleine-koenig@pengutronix.de> Signed-off-by: Corey Minyard <minyard@acm.org>
This commit is contained in:
parent
9930702cfe
commit
e64c82b806
@ -366,7 +366,7 @@ static struct i2c_driver ipmb_driver = {
|
||||
.name = "ipmb-dev",
|
||||
.acpi_match_table = ACPI_PTR(acpi_ipmb_id),
|
||||
},
|
||||
.probe_new = ipmb_probe,
|
||||
.probe = ipmb_probe,
|
||||
.remove = ipmb_remove,
|
||||
.id_table = ipmb_id,
|
||||
};
|
||||
|
@ -572,7 +572,7 @@ static struct i2c_driver ipmi_ipmb_driver = {
|
||||
.name = DEVICE_NAME,
|
||||
.of_match_table = of_ipmi_ipmb_match,
|
||||
},
|
||||
.probe_new = ipmi_ipmb_probe,
|
||||
.probe = ipmi_ipmb_probe,
|
||||
.remove = ipmi_ipmb_remove,
|
||||
.id_table = ipmi_ipmb_id,
|
||||
};
|
||||
|
@ -2054,7 +2054,7 @@ static struct i2c_driver ssif_i2c_driver = {
|
||||
.driver = {
|
||||
.name = DEVICE_NAME
|
||||
},
|
||||
.probe_new = ssif_probe,
|
||||
.probe = ssif_probe,
|
||||
.remove = ssif_remove,
|
||||
.alert = ssif_alert,
|
||||
.id_table = ssif_id,
|
||||
|
@ -860,7 +860,7 @@ static struct i2c_driver ssif_bmc_driver = {
|
||||
.name = DEVICE_NAME,
|
||||
.of_match_table = ssif_bmc_match,
|
||||
},
|
||||
.probe_new = ssif_bmc_probe,
|
||||
.probe = ssif_bmc_probe,
|
||||
.remove = ssif_bmc_remove,
|
||||
.id_table = ssif_bmc_id,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user