regulator: act8865: register all regulators regardless of how many are used
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 31 Dec 2013 01:27:52 +0000 (09:27 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 31 Dec 2013 13:05:55 +0000 (13:05 +0000)
commitd04b755273683ed31043563b8a3a2716bd8aa6a9
treef00b5e4c5b44d83a86e2d1981fcef46154e91984
parentf1de2c2f2749ba42b87a49ae57deb346301dec02
regulator: act8865: register all regulators regardless of how many are used

As Mark pointed out, the driver should register all regulators
regardless of how many are used in the system in order to aid diagnostics.

But in the previous patch, only register the regulators that are used.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/act8865-regulator.c