diff options
author | 2014-11-03 19:12:07 +0100 | |
---|---|---|
committer | 2014-11-07 11:30:25 +0000 | |
commit | 679c038f544e46803d4fce16636747c3e77af4f1 (patch) | |
tree | 01269633f8d42314242a83203521b7d2bc0db94a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: gpio: Use gpio_is_valid (diff) | |
download | wireguard-linux-679c038f544e46803d4fce16636747c3e77af4f1.tar.xz wireguard-linux-679c038f544e46803d4fce16636747c3e77af4f1.zip |
regulator: tps65090: Fix gpio initialization
The config is used for multiple regulators within a for loop. The config
field is not cleared before it is used for the next item. To avoid any
issues this patch adds a proper initialization for the config->ena_gpio
field in case no gpio is available.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions