File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -257,9 +257,9 @@ static struct tps_driver_data tps65023_drv_data = {
257
257
.core_regulator = TPS65023_DCDC_1 ,
258
258
};
259
259
260
- static int tps_65023_probe (struct i2c_client * client ,
261
- const struct i2c_device_id * id )
260
+ static int tps_65023_probe (struct i2c_client * client )
262
261
{
262
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
263
263
struct regulator_init_data * init_data = dev_get_platdata (& client -> dev );
264
264
struct regulator_config config = { };
265
265
struct tps_pmic * tps ;
@@ -336,7 +336,7 @@ static struct i2c_driver tps_65023_i2c_driver = {
336
336
.name = "tps65023" ,
337
337
.of_match_table = of_match_ptr (tps65023_of_match ),
338
338
},
339
- .probe = tps_65023_probe ,
339
+ .probe_new = tps_65023_probe ,
340
340
.id_table = tps_65023_id ,
341
341
};
342
342
You can’t perform that action at this time.
0 commit comments