summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2020-08-01 08:48:20 +0300
committerMark Brown <broonie@kernel.org>2020-08-18 19:18:45 +0300
commit6a1fe83bf14b87fd8b02f391ea629f69624d9c34 (patch)
tree1d8a6c29d4dc068adf3426502e17160144dbf0e2 /tools/perf/scripts/python/export-to-postgresql.py
parent7d8196641ee1eea6223e68ff92362652b1c8346b (diff)
downloadlinux-6a1fe83bf14b87fd8b02f391ea629f69624d9c34.tar.xz
regulator: qcom_spmi: Improve readability for setting up enable/mode pin control
By checking data->pin_ctrl_enable / data->pin_ctrl_hpm flags first, then use switch-case to improve readability. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20200801054820.134859-1-axel.lin@ingics.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