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 8ff48be commit 3d2f818Copy full SHA for 3d2f818
drivers/input/touchscreen/stmfts.c
@@ -624,8 +624,7 @@ static int stmfts_enable_led(struct stmfts_data *sdata)
624
return 0;
625
}
626
627
-static int stmfts_probe(struct i2c_client *client,
628
- const struct i2c_device_id *id)
+static int stmfts_probe(struct i2c_client *client)
629
{
630
int err;
631
struct stmfts_data *sdata;
@@ -809,7 +808,7 @@ static struct i2c_driver stmfts_driver = {
809
808
.pm = &stmfts_pm_ops,
810
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
811
},
812
- .probe = stmfts_probe,
+ .probe_new = stmfts_probe,
813
.remove = stmfts_remove,
814
.id_table = stmfts_id,
815
};
0 commit comments