WSL2-Linux-Kernel/drivers/hwmon/occ
Eddie James ffa2600044 hwmon: (occ) Fix P10 VRM temp sensors
The P10 (temp sensor version 0x10) doesn't do the same VRM status
reporting that was used on P9. It just reports the temperature, so
drop the check for VRM fru type in the sysfs show function, and don't
set the name to "alarm".

Fixes: db4919ec86 ("hwmon: (occ) Add new temperature sensor type")
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20210929153604.14968-1-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2021-10-02 04:35:09 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
common.c hwmon: (occ) Fix P10 VRM temp sensors 2021-10-02 04:35:09 -07:00
common.h hwmon: (occ) Fix poll rate limiting 2021-05-10 06:27:33 -07:00
p8_i2c.c hwmon: use simple i2c probe function 2020-09-23 09:42:39 -07:00
p9_sbe.c hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
sysfs.c hwmon: replace snprintf in show functions with sysfs_emit 2021-04-20 06:50:14 -07:00