Subject: Re: [PATCH v2] powerpc/powernv: hwmon driver for power values, fan rpm and temperature

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 28 May 2014 17:41:11 +1000

On Wed, 2014-05-28 at 00:23 -0700, Guenter Roeck wrote:
> Consider using of_property_read_u32().
> 
> > +             sdata[count].id = *sensor_id;
> > +             sdata[count].type = type;

Especially since this is broken for Little Endian !

Neelesh, please make sure you test your patch on LE.

Cheers,
Ben.