We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ec276 commit 58d2b90Copy full SHA for 58d2b90
drivers/video/backlight/bd6107.c
@@ -113,8 +113,7 @@ static const struct backlight_ops bd6107_backlight_ops = {
113
.check_fb = bd6107_backlight_check_fb,
114
};
115
116
-static int bd6107_probe(struct i2c_client *client,
117
- const struct i2c_device_id *id)
+static int bd6107_probe(struct i2c_client *client)
118
{
119
struct bd6107_platform_data *pdata = dev_get_platdata(&client->dev);
120
struct backlight_device *backlight;
@@ -193,7 +192,7 @@ static struct i2c_driver bd6107_driver = {
193
192
.driver = {
194
.name = "bd6107",
195
},
196
- .probe = bd6107_probe,
+ .probe_new = bd6107_probe,
197
.remove = bd6107_remove,
198
.id_table = bd6107_ids,
199
0 commit comments