summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2016-09-14 19:52:06 +0300
committerMark Brown <broonie@kernel.org>2016-09-16 19:33:40 +0300
commit31dfe686ed0ba5a796bcfc5a6745e77ddb5daa4e (patch)
treea2306feb6e845d6cedce484ea52394389f27b249 /tools/perf/scripts/python/sctop.py
parent57995a4860542ea2089558c84f739e12d5ca1059 (diff)
downloadlinux-31dfe686ed0ba5a796bcfc5a6745e77ddb5daa4e.tar.xz
regulator: core: Simplify error flow in _regulator_do_set_voltage()
If the voltage can not be set jump to the end of the function. This avoids having to check for an error multiple times and eliminates one level of nesting in a follow-up change. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions