]> www.infradead.org Git - users/dwmw2/linux.git/commit
hwmon: (jc42) Use common device ID for TSE2004av compliant sensors
authorGuenter Roeck <linux@roeck-us.net>
Sun, 30 Jun 2024 16:32:10 +0000 (09:32 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 30 Jun 2024 20:15:23 +0000 (13:15 -0700)
commitc98cf41dfbab71e3c6d71061c182fafde0bf0f99
tree00eef965e9818555d93f1f077d31f43f3413a041
parentef8df816eea8b985bec1b8fc838c737fbdb4f8b0
hwmon: (jc42) Use common device ID for TSE2004av compliant sensors

TSE2004av standardizes the device ID of compliant temperature sensors to
be 0x22xx, where xx is the device revision. Use a single define for all
TSE2004av compliant temperature sensors, and relax the device id mask to
match the upper 8 bit of the device id register.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/jc42.c