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 f8449c8 commit ad614f8Copy full SHA for ad614f8
drivers/video/backlight/ktz8866.c
@@ -124,8 +124,7 @@ static void ktz8866_init(struct ktz8866 *ktz)
124
ktz8866_write(ktz, LCD_BIAS_CFG1, LCD_BIAS_EN);
125
}
126
127
-static int ktz8866_probe(struct i2c_client *client,
128
- const struct i2c_device_id *id)
+static int ktz8866_probe(struct i2c_client *client)
129
{
130
struct backlight_device *backlight_dev;
131
struct backlight_properties props;
@@ -197,7 +196,7 @@ static struct i2c_driver ktz8866_driver = {
197
196
.name = "ktz8866",
198
.of_match_table = ktz8866_match_table,
199
},
200
- .probe = ktz8866_probe,
+ .probe_new = ktz8866_probe,
201
.remove = ktz8866_remove,
202
.id_table = ktz8866_ids,
203
};
0 commit comments