commit | 7629cef11200bccb63ce5a629a4d0602e7f85555 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:32:51 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Dec 02 19:37:03 2015 +0000 |
tree | 81d2fc3df7e0500742ede639b99dfc72cec8ea32 | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec [diff] |
regulator: lp8788-ldo: Use platform_register/unregister_drivers() These new helpers simplify implementing multi-driver modules and properly handle failure to register one driver by unregistering all previously registered drivers. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>