summaryrefslogtreecommitdiffstats
path: root/mm/nobootmem.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-12-10 09:55:52 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-10 15:12:41 +0100
commitad0b8b9e82b63ad2cc5e6822448adc897f49a5c4 (patch)
tree2e32a9604aecb94190ac6ecf02de948875a9cf5d /mm/nobootmem.c
parentregulator: gpio-regulator: Add ifdef CONFIG_OF guard for regulator_gpio_of_match (diff)
downloadlinux-ad0b8b9e82b63ad2cc5e6822448adc897f49a5c4.tar.xz
linux-ad0b8b9e82b63ad2cc5e6822448adc897f49a5c4.zip
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>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions