diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-03-10 09:32:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-10 10:36:15 +0100 |
commit | b874f41c6b3da1a65054f8a8c2fbe77faa9d80be (patch) | |
tree | 3c205113c248aece63fb03af13ca2e4cdb076c03 /drivers/regulator/tps6105x-regulator.c | |
parent | regulator: max8952: Remove redundant error message (diff) | |
download | linux-b874f41c6b3da1a65054f8a8c2fbe77faa9d80be.tar.xz linux-b874f41c6b3da1a65054f8a8c2fbe77faa9d80be.zip |
regulator: max8952: Use managed regulator registration
Use managed devm_regulator_register to simplify the driver probe and
driver remove functions. This allows removing from state container the
pointer to regulator_dev returned on registering the regulator.
Patch also removes from state container pointer to 'struct device' as it
is not used anywhere outside of max8952_pmic_probe() function.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/tps6105x-regulator.c')
0 files changed, 0 insertions, 0 deletions