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 @@ -648,9 +648,9 @@ static const struct attribute_group adp8860_bl_attr_group = {
648
648
.attrs = adp8860_bl_attributes ,
649
649
};
650
650
651
- static int adp8860_probe (struct i2c_client * client ,
652
- const struct i2c_device_id * id )
651
+ static int adp8860_probe (struct i2c_client * client )
653
652
{
653
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
654
654
struct backlight_device * bl ;
655
655
struct adp8860_bl * data ;
656
656
struct adp8860_backlight_platform_data * pdata =
@@ -803,7 +803,7 @@ static struct i2c_driver adp8860_driver = {
803
803
.name = KBUILD_MODNAME ,
804
804
.pm = & adp8860_i2c_pm_ops ,
805
805
},
806
- .probe = adp8860_probe ,
806
+ .probe_new = adp8860_probe ,
807
807
.remove = adp8860_remove ,
808
808
.id_table = adp8860_id ,
809
809
};
You can’t perform that action at this time.
0 commit comments