File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/input/touchscreen Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -302,9 +302,9 @@ static void tsc2007_call_exit_platform_hw(void *data)
302
302
pdata -> exit_platform_hw ();
303
303
}
304
304
305
- static int tsc2007_probe (struct i2c_client * client ,
306
- const struct i2c_device_id * id )
305
+ static int tsc2007_probe (struct i2c_client * client )
307
306
{
307
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
308
308
const struct tsc2007_platform_data * pdata =
309
309
dev_get_platdata (& client -> dev );
310
310
struct tsc2007 * ts ;
@@ -431,7 +431,7 @@ static struct i2c_driver tsc2007_driver = {
431
431
.of_match_table = tsc2007_of_match ,
432
432
},
433
433
.id_table = tsc2007_idtable ,
434
- .probe = tsc2007_probe ,
434
+ .probe_new = tsc2007_probe ,
435
435
};
436
436
437
437
module_i2c_driver (tsc2007_driver );
You can’t perform that action at this time.
0 commit comments