commit | 55e03e9c2d6909fd449cdcec9e933f6907f4820e | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 02 17:32:52 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Dec 02 19:37:22 2015 +0000 |
tree | 10a8bddc01cbbb9baaeae42c3561e98a372b03db | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec [diff] |
regulator: wm831x-dcdc: 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>