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 @@ -549,9 +549,9 @@ static const struct of_device_id __maybe_unused fan53555_dt_ids[] = {
549
549
};
550
550
MODULE_DEVICE_TABLE (of , fan53555_dt_ids );
551
551
552
- static int fan53555_regulator_probe (struct i2c_client * client ,
553
- const struct i2c_device_id * id )
552
+ static int fan53555_regulator_probe (struct i2c_client * client )
554
553
{
554
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
555
555
struct device_node * np = client -> dev .of_node ;
556
556
struct fan53555_device_info * di ;
557
557
struct fan53555_platform_data * pdata ;
@@ -665,7 +665,7 @@ static struct i2c_driver fan53555_regulator_driver = {
665
665
.name = "fan53555-regulator" ,
666
666
.of_match_table = of_match_ptr (fan53555_dt_ids ),
667
667
},
668
- .probe = fan53555_regulator_probe ,
668
+ .probe_new = fan53555_regulator_probe ,
669
669
.id_table = fan53555_id ,
670
670
};
671
671
You can’t perform that action at this time.
0 commit comments