mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-24 06:44:23 +08:00
fbdev: matroxfb ssd1307fb: 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> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
44c026a73b
commit
780328abc0
@ -1291,7 +1291,7 @@ static struct i2c_driver maven_driver={
|
||||
.driver = {
|
||||
.name = "maven",
|
||||
},
|
||||
.probe_new = maven_probe,
|
||||
.probe = maven_probe,
|
||||
.remove = maven_remove,
|
||||
.id_table = maven_id,
|
||||
};
|
||||
|
@ -844,7 +844,7 @@ static const struct i2c_device_id ssd1307fb_i2c_id[] = {
|
||||
MODULE_DEVICE_TABLE(i2c, ssd1307fb_i2c_id);
|
||||
|
||||
static struct i2c_driver ssd1307fb_driver = {
|
||||
.probe_new = ssd1307fb_probe,
|
||||
.probe = ssd1307fb_probe,
|
||||
.remove = ssd1307fb_remove,
|
||||
.id_table = ssd1307fb_i2c_id,
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user