]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2da0e821188779e6b8447995e1c6237d1bfdc297
tree736f0579c4a72f1d90c04db806d6cac4a91a3e5a
parent57d78886b41f550f1ff77cfe8aa516f42c258f49
regulator: da9052: fix bug in device tree iteration loop

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>
drivers/regulator/da9052-regulator.c