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 @@ -683,9 +683,9 @@ static const struct regmap_config pfuze_regmap_config = {
683
683
.cache_type = REGCACHE_RBTREE ,
684
684
};
685
685
686
- static int pfuze100_regulator_probe (struct i2c_client * client ,
687
- const struct i2c_device_id * id )
686
+ static int pfuze100_regulator_probe (struct i2c_client * client )
688
687
{
688
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
689
689
struct pfuze_chip * pfuze_chip ;
690
690
struct regulator_config config = { };
691
691
int i , ret ;
@@ -847,7 +847,7 @@ static struct i2c_driver pfuze_driver = {
847
847
.name = "pfuze100-regulator" ,
848
848
.of_match_table = pfuze_dt_ids ,
849
849
},
850
- .probe = pfuze100_regulator_probe ,
850
+ .probe_new = pfuze100_regulator_probe ,
851
851
};
852
852
module_i2c_driver (pfuze_driver );
853
853
You can’t perform that action at this time.
0 commit comments