Commit 3c48eb38 authored by Marius Zachmann's avatar Marius Zachmann Committed by Guenter Roeck
Browse files

hwmon: (corsair-cpro) Replace magic values with constants



Replace two magic values in ccp_device with
existing constants.

Signed-off-by: default avatarMarius Zachmann <mail@mariuszachmann.de>
Link: https://lore.kernel.org/r/20251113100024.11103-3-mail@mariuszachmann.de


[groeck: Updated subject to include subsystem/driver]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 6ae5101d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,10 +90,10 @@ struct ccp_device {
	u8 *cmd_buffer;
	u8 *buffer;
	int buffer_recv_size; /* number of received bytes in buffer */
	int target[6];
	int target[NUM_FANS];
	DECLARE_BITMAP(temp_cnct, NUM_TEMP_SENSORS);
	DECLARE_BITMAP(fan_cnct, NUM_FANS);
	char fan_label[6][LABEL_LENGTH];
	char fan_label[NUM_FANS][LABEL_LENGTH];
	u8 firmware_ver[3];
	u8 bootloader_ver[2];
};