summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-05-18 03:05:06 +0200
committerGuenter Roeck <linux@roeck-us.net>2017-06-12 02:08:19 +0200
commitcc66b30382549aca35385c04f9a9911052c548ef (patch)
tree1cbd297c35c2f7633051d27f7407545a2c83c1a2 /drivers/extcon
parenthwmon: (nct6775) Use bitops (diff)
downloadlinux-cc66b30382549aca35385c04f9a9911052c548ef.tar.xz
linux-cc66b30382549aca35385c04f9a9911052c548ef.zip
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 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions