commit | 7396f708b9f1d8874dda9c6386c37b065d99b68f | [log] [tgz] |
---|---|---|
author | Pavel Machek <pavel@ucw.cz> | Thu Jul 30 10:11:24 2015 +1000 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Aug 05 05:10:54 2015 +0200 |
tree | 7c50b2585a41eda5614b8c529c9fd266430c0507 | |
parent | e57c4a67d71275e4a15b9f0f92a322ea27b26a6e [diff] |
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>