regulator: gpio-regulator: fix forgotten gpios-states reading
authorHeiko Stuebner <heiko.stuebner@bqreaders.com>
Thu, 13 Feb 2014 15:34:32 +0000 (16:34 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 14:58:57 +0000 (14:58 +0000)
Commit 934624d6e9f0 ("regulator: gpio-regulator: do not open-code counting
and access of dt array elements") forgot to convert the recently added
gpios-states property using the same pattern.

Convert this instance to use the of-helpers too, resolving the build error.

Signed-off-by: Heiko Stuebner <heiko.stuebner@bqreaders.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/gpio-regulator.c

Simple merge