summaryrefslogtreecommitdiffstats
path: root/drivers/block/virtio_blk.c
diff options
context:
space:
mode:
authorAleksa Savic <savicaleksa83@gmail.com>2022-07-07 13:50:50 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-07-13 17:39:42 +0200
commit654c97351baf5e2f00e417291cc9e9caf1d07f4b (patch)
treeb521ac5959dd5414ad9f86d86085f97a0a758546 /drivers/block/virtio_blk.c
parenthwmon: (asus-ec-sensors) add missing sensors for X570-I GAMING (diff)
downloadlinux-654c97351baf5e2f00e417291cc9e9caf1d07f4b.tar.xz
linux-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 'drivers/block/virtio_blk.c')
0 files changed, 0 insertions, 0 deletions