twl4030_charger: convert to module_platform_driver instead of ..._probe.

Drivers using module_platform_driver_probe cannot return
EPROBE_DEFER from the probe function, which makes them rather useless
these days...

Convert to module_platform_driver() so EPROBE_DEFER can be used.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
Pavel Machek 2015-07-30 10:11:24 +10:00 • committed by Sebastian Reichel
commit 7396f708b9