cpupower: Condense pstate enabled bit checks in decode_pstates()
The enabled bit (bit 63) is common for all families so we can remove the multiple enabled checks based on family and have a common check for HW pstate enabled. Signed-off-by: NNathan Fontenot <nathan.fontenot@amd.com> Reviewed-by: NRobert Richter <rrichter@amd.com> Signed-off-by: NShuah Khan <skhan@linuxfoundation.org>
Showing
想要评论请 注册 或 登录