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 0a3098d commit 8360705Copy full SHA for 8360705
drivers/input/touchscreen/wdt87xx_i2c.c
@@ -1064,8 +1064,7 @@ static int wdt87xx_ts_create_input_device(struct wdt87xx_data *wdt)
1064
return 0;
1065
}
1066
1067
-static int wdt87xx_ts_probe(struct i2c_client *client,
1068
- const struct i2c_device_id *id)
+static int wdt87xx_ts_probe(struct i2c_client *client)
1069
{
1070
struct wdt87xx_data *wdt;
1071
int error;
@@ -1170,7 +1169,7 @@ static const struct acpi_device_id wdt87xx_acpi_id[] = {
1170
1169
MODULE_DEVICE_TABLE(acpi, wdt87xx_acpi_id);
1171
1172
static struct i2c_driver wdt87xx_driver = {
1173
- .probe = wdt87xx_ts_probe,
+ .probe_new = wdt87xx_ts_probe,
1174
.id_table = wdt87xx_dev_id,
1175
.driver = {
1176
.name = WDT87XX_NAME,
0 commit comments