diff options
author | 2013-08-04 09:23:28 +0800 | |
---|---|---|
committer | 2013-08-13 11:19:05 +0100 | |
commit | 19c6b5440a66cba44365e511d9794e5e34ae2e4e (patch) | |
tree | 35e1a4ab74347c1cf1971754079b2d3814799cd9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: 88pm800: Add missing n_voltages setting for bucks (diff) | |
download | linux-dev-19c6b5440a66cba44365e511d9794e5e34ae2e4e.tar.xz linux-dev-19c6b5440a66cba44365e511d9794e5e34ae2e4e.zip |
regulator: 88pm800: Fix checking whether num_regulator is valid
The code to check whether num_regulator is valid is wrong because it should
iterate all array entries rather than break from the for loop if
pdata->regulators[i] is NULL.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions