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 @@ -652,9 +652,9 @@ static void silead_disable_regulator(void *arg)
652
652
regulator_bulk_disable (ARRAY_SIZE (data -> regulators ), data -> regulators );
653
653
}
654
654
655
- static int silead_ts_probe (struct i2c_client * client ,
656
- const struct i2c_device_id * id )
655
+ static int silead_ts_probe (struct i2c_client * client )
657
656
{
657
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
658
658
struct silead_ts_data * data ;
659
659
struct device * dev = & client -> dev ;
660
660
int error ;
@@ -826,7 +826,7 @@ MODULE_DEVICE_TABLE(of, silead_ts_of_match);
826
826
#endif
827
827
828
828
static struct i2c_driver silead_ts_driver = {
829
- .probe = silead_ts_probe ,
829
+ .probe_new = silead_ts_probe ,
830
830
.id_table = silead_ts_id ,
831
831
.driver = {
832
832
.name = SILEAD_TS_NAME ,
You can’t perform that action at this time.
0 commit comments