hwmon: (w83795) List all usable temperature sources
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Nov 2010 20:38:56 +0000 (21:38 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 15 Nov 2010 20:38:56 +0000 (21:38 +0100)
commitedff2f8d81ce976ad6895f1d649fcb164be80e3d
tree515492332c52068c084a5e362254cc8f98899356
parentd5ab845a13de7ff2d195917dad8879acfb6d8ff9
hwmon: (w83795) List all usable temperature sources

Temperature sources are not correlated directly with temperature
channels. A look-up table is required to find out which temperature
sources can be used depending on which temperature channels (both
analog and digital) are enabled.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83795.c