File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1103,7 +1103,7 @@ static int pcf2127_configure_interrupt_pins(struct device *dev)
1103
1103
}
1104
1104
1105
1105
static int pcf2127_probe (struct device * dev , struct regmap * regmap ,
1106
- int alarm_irq , const char * name , const struct pcf21xx_config * config )
1106
+ int alarm_irq , const struct pcf21xx_config * config )
1107
1107
{
1108
1108
struct pcf2127 * pcf2127 ;
1109
1109
int ret = 0 ;
@@ -1402,8 +1402,7 @@ static int pcf2127_i2c_probe(struct i2c_client *client)
1402
1402
return PTR_ERR (regmap );
1403
1403
}
1404
1404
1405
- return pcf2127_probe (& client -> dev , regmap , client -> irq ,
1406
- pcf2127_i2c_driver .driver .name , variant );
1405
+ return pcf2127_probe (& client -> dev , regmap , client -> irq , variant );
1407
1406
}
1408
1407
1409
1408
static struct i2c_driver pcf2127_i2c_driver = {
@@ -1475,9 +1474,7 @@ static int pcf2127_spi_probe(struct spi_device *spi)
1475
1474
return PTR_ERR (regmap );
1476
1475
}
1477
1476
1478
- return pcf2127_probe (& spi -> dev , regmap , spi -> irq ,
1479
- pcf2127_spi_driver .driver .name ,
1480
- variant );
1477
+ return pcf2127_probe (& spi -> dev , regmap , spi -> irq , variant );
1481
1478
}
1482
1479
1483
1480
static const struct spi_device_id pcf2127_spi_id [] = {
You can’t perform that action at this time.
0 commit comments