regulator: da9052: fix bug in device tree iteration loop
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>
Mon, 7 May 2012 07:57:23 +0000 (15:57 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 May 2012 11:51:36 +0000 (12:51 +0100)
The driver of da9052 is buggy due to the iteration loop of device tree.
This patch fix the loop condition to make the driver work with device tree.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found