Commit 780328ab authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Helge Deller

fbdev: matroxfb ssd1307fb: Switch i2c drivers back to use .probe()

After commit b8a1a4cd ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f4 ("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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 44c026a7
...@@ -1291,7 +1291,7 @@ static struct i2c_driver maven_driver={ ...@@ -1291,7 +1291,7 @@ static struct i2c_driver maven_driver={
.driver = { .driver = {
.name = "maven", .name = "maven",
}, },
.probe_new = maven_probe, .probe = maven_probe,
.remove = maven_remove, .remove = maven_remove,
.id_table = maven_id, .id_table = maven_id,
}; };
......
...@@ -844,7 +844,7 @@ static const struct i2c_device_id ssd1307fb_i2c_id[] = { ...@@ -844,7 +844,7 @@ static const struct i2c_device_id ssd1307fb_i2c_id[] = {
MODULE_DEVICE_TABLE(i2c, ssd1307fb_i2c_id); MODULE_DEVICE_TABLE(i2c, ssd1307fb_i2c_id);
static struct i2c_driver ssd1307fb_driver = { static struct i2c_driver ssd1307fb_driver = {
.probe_new = ssd1307fb_probe, .probe = ssd1307fb_probe,
.remove = ssd1307fb_remove, .remove = ssd1307fb_remove,
.id_table = ssd1307fb_i2c_id, .id_table = ssd1307fb_i2c_id,
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment