commit | 92a513b79f942dd86f906512352e2c6d7eca1d8b | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:32:53 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Dec 02 19:37:31 2015 +0000 |
tree | 13b6ec75af5fcdcca920a9ee8a7c759814d9d871 | |
parent | 55e03e9c2d6909fd449cdcec9e933f6907f4820e [diff] |
regulator: wm831x-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>