hwmon: (it87) Manage device specific features with table
authorGuenter Roeck <linux@roeck-us.net>
Wed, 19 Dec 2012 21:17:02 +0000 (22:17 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 19 Dec 2012 21:17:02 +0000 (22:17 +0100)
commit483db43e81f4958e3cd11a990112e8082a6a5261
tree4f1f0081a8dedbb2ec9c2f264d40f03ae3772be7
parentc4458db3688a603a4cb4b1d01ca10ff0d58bc8eb
hwmon: (it87) Manage device specific features with table

This simplifies the code, improves runtime performance, reduces
code size (about 280 bytes on x86_64), and makes it easier
to add support for new devices.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c