]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (occ) Add sysfs entry for OCC mode
authorEddie James <eajames@linux.ibm.com>
Tue, 15 Feb 2022 15:10:20 +0000 (09:10 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:19 +0000 (17:03 -0800)
commit2a6a70b49cc2ae78e2785d996c79796f4168fc28
tree475c57d725ab0045473b37d19180862ffc555297
parent2caf88a02335977cef35908c08d7e49318c89db8
hwmon: (occ) Add sysfs entry for OCC mode

BMC control applications need to check the OCC mode returned by the
OCC poll response, so export it in sysfs with the other OCC-specific
data.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220215151022.7498-3-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/occ/common.h
drivers/hwmon/occ/sysfs.c