twl4030_charger: convert to module_platform_driver instead of ..._probe.
authorPavel Machek <pavel@ucw.cz>
Thu, 30 Jul 2015 00:11:24 +0000 (10:11 +1000)
committerSebastian Reichel <sre@kernel.org>
Wed, 5 Aug 2015 03:10:54 +0000 (05:10 +0200)
commit7396f708b9f1d8874dda9c6386c37b065d99b68f
tree7c50b2585a41eda5614b8c529c9fd266430c0507
parente57c4a67d71275e4a15b9f0f92a322ea27b26a6e
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>
drivers/power/twl4030_charger.c