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 @@ -378,9 +378,9 @@ static irqreturn_t ltc3589_isr(int irq, void *dev_id)
378
378
return IRQ_HANDLED ;
379
379
}
380
380
381
- static int ltc3589_probe (struct i2c_client * client ,
382
- const struct i2c_device_id * id )
381
+ static int ltc3589_probe (struct i2c_client * client )
383
382
{
383
+ const struct i2c_device_id * id = i2c_client_get_device_id (client );
384
384
struct device * dev = & client -> dev ;
385
385
struct regulator_desc * descs ;
386
386
struct ltc3589 * ltc3589 ;
@@ -476,7 +476,7 @@ static struct i2c_driver ltc3589_driver = {
476
476
.name = DRIVER_NAME ,
477
477
.of_match_table = of_match_ptr (ltc3589_of_match ),
478
478
},
479
- .probe = ltc3589_probe ,
479
+ .probe_new = ltc3589_probe ,
480
480
.id_table = ltc3589_i2c_id ,
481
481
};
482
482
module_i2c_driver (ltc3589_driver );
You can’t perform that action at this time.
0 commit comments