[PATCH linux dev-4.10 0/2] drivers: hwmon: occ: sysfs_notify and presence detect
Eddie James
eajames at linux.vnet.ibm.com
Sat Oct 7 07:42:59 AEDT 2017
From: "Edward A. James" <eajames at us.ibm.com>
This patch set removes the error checking for the number of OCCs present.
Instead, export a new sysfs attribute to indicate the number of OCCs present
from the master poll response. In addition, add sysfs_notify both to the new
occs_present attribute and the throttling attributes.
Edward A. James (2):
drivers: hwmon: occ: Add occs_present attribute
drivers: hwmon: occ: Add sysfs_notify to throttling attributes
drivers/hwmon/occ/common.c | 49 ++++++++++++++++++++++++++++++++++------------
drivers/hwmon/occ/common.h | 3 ---
drivers/hwmon/occ/p8_i2c.c | 4 ----
drivers/hwmon/occ/p9_sbe.c | 4 ----
4 files changed, 37 insertions(+), 23 deletions(-)
--
1.8.3.1
More information about the openbmc
mailing list