regulator: s2mps11: Don't store registered regulators in state container
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 28 Feb 2014 10:01:48 +0000 (11:01 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 02:08:54 +0000 (10:08 +0800)
commit3119525203149fc11ce9f48131afdf9795d7a4ea
tree6cc13e7b79f8a5f82fbe1de5cc5cd5644af2fb82
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed
regulator: s2mps11: Don't store registered regulators in state container

Regulators registered by devm_regulator_register() do not have to be
stored in state container because they are never dereferenced later.
The array of regulator_dev can be safely removed from state container.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c
This page took 0.024497 seconds and 5 git commands to generate.