[PATCH linux dev-4.10 v2 0/2] drivers: hwmon: occ: sysfs_notify and presence detect
Eddie James
eajames at linux.vnet.ibm.com
Tue Oct 17 03:29:47 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.
Changes since v1:
* just rebase
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 | 2 --
drivers/hwmon/occ/p8_i2c.c | 4 ----
drivers/hwmon/occ/p9_sbe.c | 4 ----
4 files changed, 37 insertions(+), 22 deletions(-)
--
1.8.3.1
More information about the openbmc
mailing list