hwmon: (aquacomputer_d5next) Add structure for fan layout
authorLeonard Anderweit <leonard.anderweit@gmail.com>
Sun, 18 Dec 2022 11:31:28 +0000 (12:31 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:09 +0000 (07:30 -0800)
commit249c752110a551818f2e7080d81b93b90ae31095
tree1062a25f1b9145d49acad321be6225536374a641
parenta2ba7ee25c804f69a2ef0e9c7f76a31cacb685aa
hwmon: (aquacomputer_d5next) Add structure for fan layout

Introduce structure for per device fan sensor offsets. This allows
reading fan sensors in aqc_raw_event() from devices which use a
different sensor layout in their status HID report.  Currently only one
version is implemented as all supported devices use the same structure.

Signed-off-by: Leonard Anderweit <leonard.anderweit@gmail.com>
Link: https://lore.kernel.org/r/20221218113131.3752-4-leonard.anderweit@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/aquacomputer_d5next.c