aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max17042_battery.c
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-12-12 01:15:57 -0500
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-12-12 01:15:57 -0500
commit76d8a23b127020472207b281427d3e9f4f1227e4 (patch)
treee14d7063d96d850fb259115d6fb08cbeb98ccf88 /drivers/power/max17042_battery.c
parenteba3b670a9166a91be5a11fe33290dca6b9457a2 (diff)
parent1ebaf4f4e6912199f8a4e30ba3ab55da2b71bcdf (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
The merge is merely to fix conflicts before sending a pull request. Conflicts: drivers/power/ab8500_btemp.c drivers/power/ab8500_charger.c drivers/power/ab8500_fg.c drivers/power/abx500_chargalg.c drivers/power/max8925_power.c Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/max17042_battery.c')
-rw-r--r--drivers/power/max17042_battery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/max17042_battery.c b/drivers/power/max17042_battery.c
index 66b2c7b50914..d664ef58afa7 100644
--- a/drivers/power/max17042_battery.c
+++ b/drivers/power/max17042_battery.c
@@ -682,7 +682,7 @@ max17042_get_pdata(struct device *dev)
682} 682}
683#endif 683#endif
684 684
685static int __devinit max17042_probe(struct i2c_client *client, 685static int max17042_probe(struct i2c_client *client,
686 const struct i2c_device_id *id) 686 const struct i2c_device_id *id)
687{ 687{
688 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 688 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
@@ -776,7 +776,7 @@ static int __devinit max17042_probe(struct i2c_client *client,
776 return 0; 776 return 0;
777} 777}
778 778
779static int __devexit max17042_remove(struct i2c_client *client) 779static int max17042_remove(struct i2c_client *client)
780{ 780{
781 struct max17042_chip *chip = i2c_get_clientdata(client); 781 struct max17042_chip *chip = i2c_get_clientdata(client);
782 782
@@ -852,7 +852,7 @@ static struct i2c_driver max17042_i2c_driver = {
852 .pm = MAX17042_PM_OPS, 852 .pm = MAX17042_PM_OPS,
853 }, 853 },
854 .probe = max17042_probe, 854 .probe = max17042_probe,
855 .remove = __devexit_p(max17042_remove), 855 .remove = max17042_remove,
856 .id_table = max17042_id, 856 .id_table = max17042_id,
857}; 857};
858module_i2c_driver(max17042_i2c_driver); 858module_i2c_driver(max17042_i2c_driver);