[lm-sensors] [PATCH] Add MAX6650 support
Jean Delvare
khali at linux-fr.org
Fri Mar 2 12:32:23 CET 2007
On Thu, 01 Mar 2007 18:34:54 +0100, corentin.labbe wrote:
> Instead of declaring four static DEVICE_ATTR(fan1, S_IRUGO, get_fan1, NULL);
> I'm suggest you to use
> static SENSOR_DEVICE_ATTR(fan1, S_IRUGO, get_fan, NULL,1);
> static SENSOR_DEVICE_ATTR(fan2, S_IRUGO, get_fan, NULL,2);
> etc....
>
> secondly in /Documentation/hwmon/max6650 you have a wrong prefix
> +Supported chips:
> > + * Maxim 6650 / 6651
> > + Prefix: 'w83792d'
>
> and 2 typos errors
> (but and not bit)
> -> bit the Maxim 6550 has a reduced feature
>
> 6550 not 6650
> > + * Maxim 6650 / 6651
> > + Prefix: 'w83792d'
Actually, the other way around: 6650 is correct and 6550 is the typo.
Thanks for this second review Corentin.
Hans-Jürgen, care to post an updated version of your driver? Hopefully
we're not too far from a final version now.
--
Jean Delvare
More information about the lm-sensors
mailing list