hwmon: (k10temp) Reorganize and simplify temperature support detection
mainline inclusion from mainline-v5.7-rc1 commit 60465245 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V CVE: NA Reference: https://git.kernel.org/torvalds/c/60465245e6ce06691f1aa5d89c59b26679df7617 --------------------------- commit 60465245 upstream. Use a bit map to describe if temperature channels are supported, and use it for all temperature channels. Use a separate flag, independent of Tdie support, to indicate if the system is running on a Ryzen CPU. Signed-off-by:Guenter Roeck <linux@roeck-us.net> [fix conflict during backport] Signed-off-by:
Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment