regulator: max8907: Remove regulator_dev array from state container
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 10 Mar 2014 08:32:48 +0000 (09:32 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 09:34:59 +0000 (09:34 +0000)
commitf991525a1acc641a21ece236649ceebfdf2c294d
treeb91713c27b36869538b15d954dd36e6a1f6a9bb3
parentd016bdc7f4e8b2848d8992f99e226f03abe53716
regulator: max8907: Remove regulator_dev array from state container

Don't store array of regulator_dev returned by devm_regulator_register()
in state container. It isn't used anywhere outside of
max8907_regulator_probe() function.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8907-regulator.c