da9052-battery: Convert to use module_platform_driver
authorAxel Lin <axel.lin@gmail.com>
Wed, 11 Jan 2012 07:45:56 +0000 (15:45 +0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:17 +0000 (20:41 +0400)
commit534f5306d701e2717b039898888bfbb8584186bd
tree0ffa9e1a4dbec2eafc4f389770ce314627450c58
parent61bb5a780dd4f50aa4dc859c28f1e8820d763b42
da9052-battery: Convert to use module_platform_driver

Use the module_platform_driver() macro which makes the code smaller
and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/da9052-battery.c