diff options
author | Thierry Reding <treding@nvidia.com> | 2015-12-02 19:32:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-02 22:37:31 +0300 |
commit | 92a513b79f942dd86f906512352e2c6d7eca1d8b (patch) | |
tree | 13b6ec75af5fcdcca920a9ee8a7c759814d9d871 /drivers/regulator/wm831x-dcdc.c | |
parent | 55e03e9c2d6909fd449cdcec9e933f6907f4820e (diff) | |
download | linux-92a513b79f942dd86f906512352e2c6d7eca1d8b.tar.xz |
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>
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
0 files changed, 0 insertions, 0 deletions