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 @@ -322,9 +322,9 @@ static const struct of_device_id tps62360_of_match[] = {
322
322
MODULE_DEVICE_TABLE (of , tps62360_of_match );
323
323
#endif
324
324
325
- static int tps62360_probe (struct i2c_client * client ,
326
- const struct i2c_device_id * id )
325
+ static int tps62360_probe (struct i2c_client * client )
327
326
{
327
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
328
328
struct regulator_config config = { };
329
329
struct tps62360_regulator_platform_data * pdata ;
330
330
struct regulator_dev * rdev ;
@@ -497,7 +497,7 @@ static struct i2c_driver tps62360_i2c_driver = {
497
497
.name = "tps62360" ,
498
498
.of_match_table = of_match_ptr (tps62360_of_match ),
499
499
},
500
- .probe = tps62360_probe ,
500
+ .probe_new = tps62360_probe ,
501
501
.shutdown = tps62360_shutdown ,
502
502
.id_table = tps62360_id ,
503
503
};
You can’t perform that action at this time.
0 commit comments