summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMario Limonciello (AMD) <superm1@kernel.org>2025-10-09 19:17:54 +0300
committerMario Limonciello (AMD) <superm1@kernel.org>2025-11-11 08:35:20 +0300
commit92d6146a40b2d5ce0b9dcc7b3ff28d57b4757ed1 (patch)
treebc14003a5b1da9ea5711fd6379cfeab4fc9188f9 /scripts
parentbaf106f3a7ba8bf317e1f9d32ee88955723cbc71 (diff)
downloadlinux-92d6146a40b2d5ce0b9dcc7b3ff28d57b4757ed1.tar.xz
cpufreq/amd-pstate: Adjust return values in amd_pstate_update_status()
get_mode_idx_from_str() already checks the upper boundary for a string sent. Drop the extra check in amd_pstate_update_status() and pass the return code if there is a failure. Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions