hwmon: (k10temp) Create common functions and macros for Zen CPU families
authorWei Huang <wei.huang2@amd.com>
Thu, 27 Aug 2020 05:42:41 +0000 (00:42 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:41 +0000 (09:42 -0700)
commit1782241704239fb7215871bd670e0ae6eefe36b0
treec4e9c64ed75e788d74a47a6d099df6e829080bcd
parent0ef0f755b36e369d2195150fc7bf5634d4e55a2f
hwmon: (k10temp) Create common functions and macros for Zen CPU families

Many SMN thermal registers in Zen CPU families are common across different
generations. For long-term code maintenance, it is better to rename these
macro and function names to Zen.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
Link: https://lore.kernel.org/r/20200827054242.2347-1-wei.huang2@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c