diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-12-12 01:15:57 -0500 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-12-12 01:15:57 -0500 |
commit | 76d8a23b127020472207b281427d3e9f4f1227e4 (patch) | |
tree | e14d7063d96d850fb259115d6fb08cbeb98ccf88 /drivers/power/jz4740-battery.c | |
parent | eba3b670a9166a91be5a11fe33290dca6b9457a2 (diff) | |
parent | 1ebaf4f4e6912199f8a4e30ba3ab55da2b71bcdf (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/jz4740-battery.c')
-rw-r--r-- | drivers/power/jz4740-battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c index fc7550d4d568..bf914893c6fd 100644 --- a/drivers/power/jz4740-battery.c +++ b/drivers/power/jz4740-battery.c | |||
@@ -237,7 +237,7 @@ static void jz_battery_work(struct work_struct *work) | |||
237 | schedule_delayed_work(&jz_battery->work, interval); | 237 | schedule_delayed_work(&jz_battery->work, interval); |
238 | } | 238 | } |
239 | 239 | ||
240 | static int __devinit jz_battery_probe(struct platform_device *pdev) | 240 | static int jz_battery_probe(struct platform_device *pdev) |
241 | { | 241 | { |
242 | int ret = 0; | 242 | int ret = 0; |
243 | struct jz_battery_platform_data *pdata = pdev->dev.parent->platform_data; | 243 | struct jz_battery_platform_data *pdata = pdev->dev.parent->platform_data; |
@@ -353,7 +353,7 @@ err: | |||
353 | return ret; | 353 | return ret; |
354 | } | 354 | } |
355 | 355 | ||
356 | static int __devexit jz_battery_remove(struct platform_device *pdev) | 356 | static int jz_battery_remove(struct platform_device *pdev) |
357 | { | 357 | { |
358 | struct jz_battery *jz_battery = platform_get_drvdata(pdev); | 358 | struct jz_battery *jz_battery = platform_get_drvdata(pdev); |
359 | 359 | ||
@@ -404,7 +404,7 @@ static const struct dev_pm_ops jz_battery_pm_ops = { | |||
404 | 404 | ||
405 | static struct platform_driver jz_battery_driver = { | 405 | static struct platform_driver jz_battery_driver = { |
406 | .probe = jz_battery_probe, | 406 | .probe = jz_battery_probe, |
407 | .remove = __devexit_p(jz_battery_remove), | 407 | .remove = jz_battery_remove, |
408 | .driver = { | 408 | .driver = { |
409 | .name = "jz4740-battery", | 409 | .name = "jz4740-battery", |
410 | .owner = THIS_MODULE, | 410 | .owner = THIS_MODULE, |