diff options
Diffstat (limited to 'drivers/mfd/tps80031.c')
-rw-r--r-- | drivers/mfd/tps80031.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/mfd/tps80031.c b/drivers/mfd/tps80031.c index 10b51f7dfff3..c90a2c450f51 100644 --- a/drivers/mfd/tps80031.c +++ b/drivers/mfd/tps80031.c | |||
@@ -269,8 +269,7 @@ static int tps80031_init_ext_control(struct tps80031 *tps80031, | |||
269 | return ret; | 269 | return ret; |
270 | } | 270 | } |
271 | 271 | ||
272 | static int __devinit tps80031_irq_init(struct tps80031 *tps80031, int irq, | 272 | static int tps80031_irq_init(struct tps80031 *tps80031, int irq, int irq_base) |
273 | int irq_base) | ||
274 | { | 273 | { |
275 | struct device *dev = tps80031->dev; | 274 | struct device *dev = tps80031->dev; |
276 | int i, ret; | 275 | int i, ret; |
@@ -416,8 +415,8 @@ static const struct regmap_config tps80031_regmap_configs[] = { | |||
416 | }, | 415 | }, |
417 | }; | 416 | }; |
418 | 417 | ||
419 | static int __devinit tps80031_probe(struct i2c_client *client, | 418 | static int tps80031_probe(struct i2c_client *client, |
420 | const struct i2c_device_id *id) | 419 | const struct i2c_device_id *id) |
421 | { | 420 | { |
422 | struct tps80031_platform_data *pdata = client->dev.platform_data; | 421 | struct tps80031_platform_data *pdata = client->dev.platform_data; |
423 | struct tps80031 *tps80031; | 422 | struct tps80031 *tps80031; |
@@ -519,7 +518,7 @@ fail_client_reg: | |||
519 | return ret; | 518 | return ret; |
520 | } | 519 | } |
521 | 520 | ||
522 | static int __devexit tps80031_remove(struct i2c_client *client) | 521 | static int tps80031_remove(struct i2c_client *client) |
523 | { | 522 | { |
524 | struct tps80031 *tps80031 = i2c_get_clientdata(client); | 523 | struct tps80031 *tps80031 = i2c_get_clientdata(client); |
525 | int i; | 524 | int i; |
@@ -553,7 +552,7 @@ static struct i2c_driver tps80031_driver = { | |||
553 | .owner = THIS_MODULE, | 552 | .owner = THIS_MODULE, |
554 | }, | 553 | }, |
555 | .probe = tps80031_probe, | 554 | .probe = tps80031_probe, |
556 | .remove = __devexit_p(tps80031_remove), | 555 | .remove = tps80031_remove, |
557 | .id_table = tps80031_id_table, | 556 | .id_table = tps80031_id_table, |
558 | }; | 557 | }; |
559 | 558 | ||