diff options
author | Pavel Machek <pavel@ucw.cz> | 2015-07-30 10:11:24 +1000 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-08-05 05:10:54 +0200 |
commit | 7396f708b9f1d8874dda9c6386c37b065d99b68f (patch) | |
tree | 7c50b2585a41eda5614b8c529c9fd266430c0507 /drivers/power/ds2780_battery.c | |
parent | e57c4a67d71275e4a15b9f0f92a322ea27b26a6e (diff) | |
download | linux-7396f708b9f1d8874dda9c6386c37b065d99b68f.tar.bz2 |
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>
Diffstat (limited to 'drivers/power/ds2780_battery.c')
0 files changed, 0 insertions, 0 deletions