summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm831x-dcdc.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-12-02 17:32:53 +0100
committerMark Brown <broonie@kernel.org>2015-12-02 19:37:31 +0000
commit92a513b79f942dd86f906512352e2c6d7eca1d8b (patch)
tree13b6ec75af5fcdcca920a9ee8a7c759814d9d871 /drivers/regulator/wm831x-dcdc.c
parent55e03e9c2d6909fd449cdcec9e933f6907f4820e (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>
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
0 files changed, 0 insertions, 0 deletions