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 09a77dc commit 6440fabCopy full SHA for 6440fab
drivers/input/touchscreen/sis_i2c.c
@@ -296,8 +296,7 @@ static void sis_ts_reset(struct sis_ts_data *ts)
296
}
297
298
299
-static int sis_ts_probe(struct i2c_client *client,
300
- const struct i2c_device_id *id)
+static int sis_ts_probe(struct i2c_client *client)
301
{
302
struct sis_ts_data *ts;
303
struct input_dev *input;
@@ -394,7 +393,7 @@ static struct i2c_driver sis_ts_driver = {
394
393
.name = SIS_I2C_NAME,
395
.of_match_table = of_match_ptr(sis_ts_dt_ids),
396
},
397
- .probe = sis_ts_probe,
+ .probe_new = sis_ts_probe,
398
.id_table = sis_ts_id,
399
};
400
module_i2c_driver(sis_ts_driver);
0 commit comments