diff options
| author | 2022-07-07 13:50:50 +0200 | |
|---|---|---|
| committer | 2022-07-13 08:39:42 -0700 | |
| commit | 654c97351baf5e2f00e417291cc9e9caf1d07f4b (patch) | |
| tree | b521ac5959dd5414ad9f86d86085f97a0a758546 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | hwmon: (asus-ec-sensors) add missing sensors for X570-I GAMING (diff) | |
| download | linux-dev-654c97351baf5e2f00e417291cc9e9caf1d07f4b.tar.xz linux-dev-654c97351baf5e2f00e417291cc9e9caf1d07f4b.zip | |
hwmon: (aquacomputer_d5next) Move device-specific data into struct aqc_data
As preparation for adding support for more devices in upcoming patches,
move device-specific data, such as number of fans, temperature sensors,
register offsets etc. to struct aqc_data. This is made possible by
the fact that the supported Aquacomputer devices share the same layouts
of sensor substructures. This allows aqc_raw_event() and others to stay
general and not be cluttered with similar loops for each device.
Signed-off-by: Jack Doan <me@jackdoan.com>
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20220707115050.90021-1-savicaleksa83@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
