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 8360705 commit f8684eaCopy full SHA for f8684ea
drivers/input/touchscreen/zet6223.c
@@ -167,8 +167,7 @@ static int zet6223_query_device(struct zet6223_ts *ts)
167
return 0;
168
}
169
170
-static int zet6223_probe(struct i2c_client *client,
171
- const struct i2c_device_id *id)
+static int zet6223_probe(struct i2c_client *client)
172
{
173
struct device *dev = &client->dev;
174
struct zet6223_ts *ts;
@@ -249,7 +248,7 @@ static struct i2c_driver zet6223_driver = {
249
248
.name = "zet6223",
250
.of_match_table = zet6223_of_match,
251
},
252
- .probe = zet6223_probe,
+ .probe_new = zet6223_probe,
253
.id_table = zet6223_id
254
};
255
module_i2c_driver(zet6223_driver);
0 commit comments