Skip to content
Snippets Groups Projects
Commit cc66b303 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent d1bb2186
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment