aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorAleksa Savic <[email protected]>2022-07-07 13:50:50 +0200
committerGuenter Roeck <[email protected]>2022-07-13 08:39:42 -0700
commit654c97351baf5e2f00e417291cc9e9caf1d07f4b (patch)
treeb521ac5959dd5414ad9f86d86085f97a0a758546 /drivers/usb/cdns3/cdns3-trace.c
parent1c4e4f4a0e8d9ebe8be1c838fec4fb7053a989d9 (diff)
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 <[email protected]> Signed-off-by: Aleksa Savic <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions