regulator: max1586: Don't allocate memory for regulator_dev pointers
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 10 Mar 2014 09:46:52 +0000 (10:46 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 10:24:28 +0000 (10:24 +0000)
Do not allocate memory for 'struct regulator_dev *' since it was removed
from state container (values returned by devm_regulator_register() are
not used outside of probe).

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

Simple merge