Krzysztof Kozlowski b874f41c6b 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>
2014-03-10 09:36:15 +00:00
..
2014-01-08 17:13:57 +00:00
2012-11-20 10:31:26 +09:00
2013-10-15 13:21:44 +01:00
2014-01-25 13:19:10 -08:00
2013-12-18 17:24:41 +00:00
2013-07-30 12:24:20 +01:00