diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2022-07-26 18:29:33 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2022-07-28 14:37:19 -0400 |
commit | eade39b2bf7f35294a814e62e2f5d8117615f18b (patch) | |
tree | a7a720611db32e2bd3c86703198293d71bfc001f /lib/test_bits.c | |
parent | 684e40e99e594e0da1dc1b358fbd51c03c606e75 (diff) |
tools/power turbostat: cleanup 'automatic_cstate_conversion_probe()'
The 'automatic_cstate_conversion_probe()' function has a too long 'if'
statement, convert it to a 'switch' statement in order to improve code
readability a bit.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions