[PATCH linux dev-4.10 0/2] drivers: hwmon: occ: sysfs_notify and presence detect

Andrew Jeffery andrew at aj.id.au
Wed Oct 11 17:01:58 AEDT 2017


On Fri, 2017-10-06 at 15:42 -0500, Eddie James wrote:
> > From: "Edward A. James" <eajames at us.ibm.com>
> 
> This patch set removes the error checking for the number of OCCs present.

I'm interested in the back-story here. Why are we making this change in
behaviour?

Cheers,

Andrew

> 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(-)
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20171011/ec9194d9/attachment.sig>


More information about the openbmc mailing list