diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-05-17 18:05:06 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-06-11 17:08:19 -0700 |
commit | cc66b30382549aca35385c04f9a9911052c548ef (patch) | |
tree | 1cbd297c35c2f7633051d27f7407545a2c83c1a2 /security/keys/persistent.c | |
parent | d1bb218687079c365ea8a8a096abeefc8768dd0c (diff) | |
download | op-kernel-dev-cc66b30382549aca35385c04f9a9911052c548ef.zip op-kernel-dev-cc66b30382549aca35385c04f9a9911052c548ef.tar.gz |
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>
Diffstat (limited to 'security/keys/persistent.c')
0 files changed, 0 insertions, 0 deletions