commit | cc66b30382549aca35385c04f9a9911052c548ef | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed May 17 18:05:06 2017 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Jun 11 17:08:19 2017 -0700 |
tree | 1cbd297c35c2f7633051d27f7407545a2c83c1a2 | |
parent | d1bb218687079c365ea8a8a096abeefc8768dd0c [diff] |
hwmon: (nct6775) Rework temperature source and label handling Instead of checking if a temperature source has a label, use a bit mask to determine if a temperature source is valid for a given chip. This simplifies the code and, if necessary, lets us support chips with unknown or incomplete labels. Signed-off-by: Guenter Roeck <linux@roeck-us.net>