commit | ad0b8b9e82b63ad2cc5e6822448adc897f49a5c4 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Dec 10 08:55:52 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Dec 10 23:12:41 2012 +0900 |
tree | 2e32a9604aecb94190ac6ecf02de948875a9cf5d | |
parent | ec4f7b88b4a89253ec922d48f77b269ce5cffc2c [diff] |
regulator: gpio-regulator: Fix logical error in for() loop The cond-statement of this particular for() loop will always be true as long as at least one voltage-shifting GPIO is present. If it wasn't for the break below, we'd be stuck in a forever loop. This patch inserts the correct cond-statement into the statement. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>