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 58d2b90 commit b2d4f93Copy full SHA for b2d4f93
drivers/video/backlight/lm3630a_bl.c
@@ -491,8 +491,7 @@ static int lm3630a_parse_node(struct lm3630a_chip *pchip,
491
return ret;
492
}
493
494
-static int lm3630a_probe(struct i2c_client *client,
495
- const struct i2c_device_id *id)
+static int lm3630a_probe(struct i2c_client *client)
496
{
497
struct lm3630a_platform_data *pdata = dev_get_platdata(&client->dev);
498
struct lm3630a_chip *pchip;
@@ -617,7 +616,7 @@ static struct i2c_driver lm3630a_i2c_driver = {
617
616
.name = LM3630A_NAME,
618
.of_match_table = lm3630a_match_table,
619
},
620
- .probe = lm3630a_probe,
+ .probe_new = lm3630a_probe,
621
.remove = lm3630a_remove,
622
.id_table = lm3630a_id,
623
};
0 commit comments