hwmon: (k10temp) Don't show Tdie for all Zen/Zen2/Zen3 CPU/APU
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 26 Aug 2021 18:40:56 +0000 (13:40 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 27 Aug 2021 16:44:57 +0000 (09:44 -0700)
commit02a2484cf8d17a2acf3b9b151147bafaa55ad38c
treeb84051564c382c5a02d79121a8162d0edd5d2087
parent128066c88770c7b26352fa400cb67297775cc4e8
hwmon: (k10temp) Don't show Tdie for all Zen/Zen2/Zen3 CPU/APU

Tdie is an offset calculation that should only be shown when temp_offset
is actually put into a table.  This is useless to show for all CPU/APU.
Show it only when necessary.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c