On Wed, Mar 23, 2011 at 04:48:41PM -0400, Jean Delvare wrote: > Use tables to list the count of fan and temperature inputs for all > supported chips, almost similar to (but more simple than) what is > already done for voltage inputs. This avoids repeating the same tests > in different functions, and will make it easier to add support for > chips with a different count of fan or temperature inputs. > > Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> > Cc: Hans de Goede <hdegoede@xxxxxxxxxx> > --- > Hans, I think this should make adding support for the F81865 easier. > And it even makes the binary slightly smaller on x86-64. What do you > think? > I like it. Acked-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors