pm: cpupower: bindings: Improve disable c_state block
authorJohn B. Wyatt IV <jwyatt@redhat.com>
Mon, 30 Sep 2024 23:21:54 +0000 (19:21 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 2 Oct 2024 20:50:17 +0000 (14:50 -0600)
commit2314dca1b36629f352b0f919cdab16ca3fcaea42
tree0d121df03a5f0a0377b17f6602911c1b665778d2
parent08a26a15a4cdf5f2ca801dd0fbd6806233fbd6b6
pm: cpupower: bindings: Improve disable c_state block

This commit fixes a bad comment, removes an unneeded code block, and
catches a few more states that cpuidle_state_disable with the test
script. Part of the motivation for this commit was I kept forgetting to
use sudo.

Signed-off-by: "John B. Wyatt IV" <jwyatt@redhat.com>
Signed-off-by: "John B. Wyatt IV" <sageofredondo@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/bindings/python/test_raw_pylibcpupower.py