Re: [PATCH] hwmon: (ibmpowernv) Add min/max attributes and current sensors

2017-04-25 Thread Cédric Le Goater
... > + sdata[count].id = sensor_id; > + sdata[count].type = type; > + sdata[count].hwmon_index = sdata[count - 1].hwmon_index; > + create_hwmon_attr([count], attr_name, > +

Re: [PATCH] hwmon: (ibmpowernv) Add min/max attributes and current sensors

2017-04-25 Thread Cédric Le Goater
On 04/25/2017 04:28 PM, Cédric Le Goater wrote: > On 04/22/2017 08:11 AM, Michael Ellerman wrote: >> Shilpasri G Bhat writes: >>> On 04/21/2017 05:17 PM, Cédric Le Goater wrote: On 04/21/2017 06:31 AM, Shilpasri G Bhat wrote: > diff --git

Re: [PATCH] hwmon: (ibmpowernv) Add min/max attributes and current sensors

2017-04-25 Thread Cédric Le Goater
On 04/22/2017 08:11 AM, Michael Ellerman wrote: > Shilpasri G Bhat writes: >> On 04/21/2017 05:17 PM, Cédric Le Goater wrote: >>> On 04/21/2017 06:31 AM, Shilpasri G Bhat wrote: diff --git a/drivers/hwmon/ibmpowernv.c b/drivers/hwmon/ibmpowernv.c index

Re: [PATCH] hwmon: (ibmpowernv) Add min/max attributes and current sensors

2017-04-22 Thread Michael Ellerman
Shilpasri G Bhat writes: > On 04/21/2017 05:17 PM, Cédric Le Goater wrote: >> On 04/21/2017 06:31 AM, Shilpasri G Bhat wrote: >>> diff --git a/drivers/hwmon/ibmpowernv.c b/drivers/hwmon/ibmpowernv.c >>> index 6d2e660..1f329fa8 100644 >>> ---

Re: [PATCH] hwmon: (ibmpowernv) Add min/max attributes and current sensors

2017-04-21 Thread Cédric Le Goater
Hello Shilpasri, On 04/21/2017 06:31 AM, Shilpasri G Bhat wrote: > Add support for adding min/max values for the inband sensors copied by > OCC to main memory. And also add current(mA) sensors to the list. > > Signed-off-by: Shilpasri G Bhat > --- >

Re: [PATCH] hwmon: (ibmpowernv) Add min/max attributes and current sensors

2017-04-21 Thread Shilpasri G Bhat
Hi Cedric, On 04/21/2017 05:17 PM, Cédric Le Goater wrote: > Hello Shilpasri, > > On 04/21/2017 06:31 AM, Shilpasri G Bhat wrote: >> Add support for adding min/max values for the inband sensors copied by >> OCC to main memory. And also add current(mA) sensors to the list. >> >> Signed-off-by: