]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (f71882fg) Per-chip fan/temperature input count tables
authorJean Delvare <khali@linux-fr.org>
Sat, 26 Mar 2011 09:45:01 +0000 (10:45 +0100)
committerJean Delvare <khali@endymion.delvare>
Sat, 26 Mar 2011 09:45:01 +0000 (10:45 +0100)
commit27b4f805726179c47a6de0d8bf144e6e0280f130
treed34be13b626981c848f7803ca499b5433eabd8dc
parent68f460a174f2cfa52c4d8ca982311d278a3f80ee
hwmon: (f71882fg) Per-chip fan/temperature input count tables

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@linux-fr.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f71882fg.c