diff options
author | 2014-12-28 22:08:38 +0530 | |
---|---|---|
committer | 2014-12-29 16:08:46 +0000 | |
commit | 72dca06f62c50415de3202f204200f58769d0b8b (patch) | |
tree | ba3835f0ae82f33389dbb3896af6473c71b8adb2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.19-rc1 (diff) | |
download | linux-dev-72dca06f62c50415de3202f204200f58769d0b8b.tar.xz linux-dev-72dca06f62c50415de3202f204200f58769d0b8b.zip |
regulator: core: Avoid negative regulator no & initialize it to -1
This patch initializes regulator_no to -1 to avoid extra subtraction
operation performed every time we register a regulator and avoid negative
regulator no in its name.
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
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