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 f8684ea commit 56232e9Copy full SHA for 56232e9
drivers/input/touchscreen/zforce_ts.c
@@ -732,8 +732,7 @@ static struct zforce_ts_platdata *zforce_parse_dt(struct device *dev)
732
return pdata;
733
}
734
735
-static int zforce_probe(struct i2c_client *client,
736
- const struct i2c_device_id *id)
+static int zforce_probe(struct i2c_client *client)
737
{
738
const struct zforce_ts_platdata *pdata = dev_get_platdata(&client->dev);
739
struct zforce_ts *ts;
@@ -945,7 +944,7 @@ static struct i2c_driver zforce_driver = {
945
944
.pm = &zforce_pm_ops,
946
.of_match_table = of_match_ptr(zforce_dt_idtable),
947
},
948
- .probe = zforce_probe,
+ .probe_new = zforce_probe,
949
.id_table = zforce_idtable,
950
};
951
0 commit comments