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 bc0bbf9 commit cd66fd1Copy full SHA for cd66fd1
drivers/input/touchscreen/tsc2004.c
@@ -34,8 +34,7 @@ static int tsc2004_cmd(struct device *dev, u8 cmd)
34
return 0;
35
}
36
37
-static int tsc2004_probe(struct i2c_client *i2c,
38
- const struct i2c_device_id *id)
+static int tsc2004_probe(struct i2c_client *i2c)
39
40
{
41
return tsc200x_probe(&i2c->dev, i2c->irq, &tsc2004_input_id,
@@ -69,7 +68,7 @@ static struct i2c_driver tsc2004_driver = {
69
68
.pm = &tsc200x_pm_ops,
70
},
71
.id_table = tsc2004_idtable,
72
- .probe = tsc2004_probe,
+ .probe_new = tsc2004_probe,
73
.remove = tsc2004_remove,
74
};
75
module_i2c_driver(tsc2004_driver);
0 commit comments