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 3d2f818 commit bc0bbf9Copy full SHA for bc0bbf9
drivers/input/touchscreen/sx8654.c
@@ -306,9 +306,9 @@ static void sx8654_close(struct input_dev *dev)
306
}
307
308
309
-static int sx8654_probe(struct i2c_client *client,
310
- const struct i2c_device_id *id)
+static int sx8654_probe(struct i2c_client *client)
311
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(client);
312
struct sx8654 *sx8654;
313
struct input_dev *input;
314
int error;
@@ -470,7 +470,7 @@ static struct i2c_driver sx8654_driver = {
470
.of_match_table = of_match_ptr(sx8654_of_match),
471
},
472
.id_table = sx8654_id_table,
473
- .probe = sx8654_probe,
+ .probe_new = sx8654_probe,
474
};
475
module_i2c_driver(sx8654_driver);
476
0 commit comments