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 @@ -220,9 +220,9 @@ static const struct st_chip_info st1633_chip_info = {
220
220
.max_fingers = 5 ,
221
221
};
222
222
223
- static int st1232_ts_probe (struct i2c_client * client ,
224
- const struct i2c_device_id * id )
223
+ static int st1232_ts_probe (struct i2c_client * client )
225
224
{
225
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
226
226
const struct st_chip_info * match ;
227
227
struct st1232_ts_data * ts ;
228
228
struct input_dev * input_dev ;
@@ -384,7 +384,7 @@ static const struct of_device_id st1232_ts_dt_ids[] = {
384
384
MODULE_DEVICE_TABLE (of , st1232_ts_dt_ids );
385
385
386
386
static struct i2c_driver st1232_ts_driver = {
387
- .probe = st1232_ts_probe ,
387
+ .probe_new = st1232_ts_probe ,
388
388
.id_table = st1232_ts_id ,
389
389
.driver = {
390
390
.name = ST1232_TS_NAME ,
You can’t perform that action at this time.
0 commit comments