diff options
Diffstat (limited to 'drivers/mfd/tps6586x.c')
-rw-r--r-- | drivers/mfd/tps6586x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c index 467464368773..9f92c3b22093 100644 --- a/drivers/mfd/tps6586x.c +++ b/drivers/mfd/tps6586x.c | |||
@@ -267,7 +267,7 @@ static irqreturn_t tps6586x_irq(int irq, void *data) | |||
267 | return IRQ_HANDLED; | 267 | return IRQ_HANDLED; |
268 | } | 268 | } |
269 | 269 | ||
270 | static int __devinit tps6586x_irq_init(struct tps6586x *tps6586x, int irq, | 270 | static int tps6586x_irq_init(struct tps6586x *tps6586x, int irq, |
271 | int irq_base) | 271 | int irq_base) |
272 | { | 272 | { |
273 | int i, ret; | 273 | int i, ret; |
@@ -316,7 +316,7 @@ static int __devinit tps6586x_irq_init(struct tps6586x *tps6586x, int irq, | |||
316 | return ret; | 316 | return ret; |
317 | } | 317 | } |
318 | 318 | ||
319 | static int __devinit tps6586x_add_subdevs(struct tps6586x *tps6586x, | 319 | static int tps6586x_add_subdevs(struct tps6586x *tps6586x, |
320 | struct tps6586x_platform_data *pdata) | 320 | struct tps6586x_platform_data *pdata) |
321 | { | 321 | { |
322 | struct tps6586x_subdev_info *subdev; | 322 | struct tps6586x_subdev_info *subdev; |
@@ -468,7 +468,7 @@ static void tps6586x_power_off(void) | |||
468 | tps6586x_set_bits(tps6586x_dev, TPS6586X_SUPPLYENE, SLEEP_MODE_BIT); | 468 | tps6586x_set_bits(tps6586x_dev, TPS6586X_SUPPLYENE, SLEEP_MODE_BIT); |
469 | } | 469 | } |
470 | 470 | ||
471 | static int __devinit tps6586x_i2c_probe(struct i2c_client *client, | 471 | static int tps6586x_i2c_probe(struct i2c_client *client, |
472 | const struct i2c_device_id *id) | 472 | const struct i2c_device_id *id) |
473 | { | 473 | { |
474 | struct tps6586x_platform_data *pdata = client->dev.platform_data; | 474 | struct tps6586x_platform_data *pdata = client->dev.platform_data; |
@@ -548,7 +548,7 @@ err_mfd_add: | |||
548 | return ret; | 548 | return ret; |
549 | } | 549 | } |
550 | 550 | ||
551 | static int __devexit tps6586x_i2c_remove(struct i2c_client *client) | 551 | static int tps6586x_i2c_remove(struct i2c_client *client) |
552 | { | 552 | { |
553 | struct tps6586x *tps6586x = i2c_get_clientdata(client); | 553 | struct tps6586x *tps6586x = i2c_get_clientdata(client); |
554 | 554 | ||
@@ -572,7 +572,7 @@ static struct i2c_driver tps6586x_driver = { | |||
572 | .of_match_table = of_match_ptr(tps6586x_of_match), | 572 | .of_match_table = of_match_ptr(tps6586x_of_match), |
573 | }, | 573 | }, |
574 | .probe = tps6586x_i2c_probe, | 574 | .probe = tps6586x_i2c_probe, |
575 | .remove = __devexit_p(tps6586x_i2c_remove), | 575 | .remove = tps6586x_i2c_remove, |
576 | .id_table = tps6586x_id_table, | 576 | .id_table = tps6586x_id_table, |
577 | }; | 577 | }; |
578 | 578 | ||