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 60aa101 commit 5867af2Copy full SHA for 5867af2
drivers/video/backlight/lv5207lp.c
@@ -76,8 +76,7 @@ static const struct backlight_ops lv5207lp_backlight_ops = {
76
.check_fb = lv5207lp_backlight_check_fb,
77
};
78
79
-static int lv5207lp_probe(struct i2c_client *client,
80
- const struct i2c_device_id *id)
+static int lv5207lp_probe(struct i2c_client *client)
81
{
82
struct lv5207lp_platform_data *pdata = dev_get_platdata(&client->dev);
83
struct backlight_device *backlight;
@@ -142,7 +141,7 @@ static struct i2c_driver lv5207lp_driver = {
142
141
.driver = {
143
.name = "lv5207lp",
144
},
145
- .probe = lv5207lp_probe,
+ .probe_new = lv5207lp_probe,
146
.remove = lv5207lp_remove,
147
.id_table = lv5207lp_ids,
148
0 commit comments