aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/tps65010.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/tps65010.c b/drivers/mfd/tps65010.c
index 743fb524fc8a..448f0a182dc4 100644
--- a/drivers/mfd/tps65010.c
+++ b/drivers/mfd/tps65010.c
@@ -515,7 +515,7 @@ static int tps65010_gpio_get(struct gpio_chip *chip, unsigned offset)
515 515
516static struct tps65010 *the_tps; 516static struct tps65010 *the_tps;
517 517
518static int __exit tps65010_remove(struct i2c_client *client) 518static int tps65010_remove(struct i2c_client *client)
519{ 519{
520 struct tps65010 *tps = i2c_get_clientdata(client); 520 struct tps65010 *tps = i2c_get_clientdata(client);
521 struct tps65010_board *board = dev_get_platdata(&client->dev); 521 struct tps65010_board *board = dev_get_platdata(&client->dev);
@@ -684,7 +684,7 @@ static struct i2c_driver tps65010_driver = {
684 .name = "tps65010", 684 .name = "tps65010",
685 }, 685 },
686 .probe = tps65010_probe, 686 .probe = tps65010_probe,
687 .remove = __exit_p(tps65010_remove), 687 .remove = tps65010_remove,
688 .id_table = tps65010_id, 688 .id_table = tps65010_id,
689}; 689};
690 690