[lm-sensors] [PATCH] hwmon: (jc42) Change I2C detection class

Guenter Roeck guenter.roeck at ericsson.com
Sat Apr 16 17:45:00 CEST 2011


On Sat, Apr 16, 2011 at 10:58:24AM -0400, Guenter Roeck wrote:
> On Sat, Apr 16, 2011 at 08:17:13AM -0400, Jean Delvare wrote:
> > While the JC42-compatible chips are temperature sensors, I2C_CLASS_SPD
> > makes more sense because these chips always live on memory modules.
> > 
> > Signed-off-by: Jean Delvare <khali at linux-fr.org>
> > Cc: Guenter Roeck <linux at roeck-us.net>
> > ---
> > Guenter, what do you think?
> > 
> I don't know. Seems odd to define a device based on its location instead of its functionality.
> 
> What is the device class used for anyway ? I browsed through the code, but did not find it.
> 
Never mind, I found it, and understand your reasoning now. Ok with me.

Acked-by: Guenter Roeck <guenter.roeck at ericsson.com>





More information about the lm-sensors mailing list