]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (corsair-cpro) Replace magic values with constants
authorMarius Zachmann <mail@mariuszachmann.de>
Thu, 13 Nov 2025 10:00:24 +0000 (11:00 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 13 Nov 2025 20:23:26 +0000 (12:23 -0800)
commit3c48eb382e57a9e2d2817f22f11f6c754e601dc8
tree7e0d3c2e0bf5dd91c703ee5ca5816d9cabd9d6c3
parent6ae5101d6f3a8fbecfc7a50af076e1ce890fd62c
hwmon: (corsair-cpro) Replace magic values with constants

Replace two magic values in ccp_device with
existing constants.

Signed-off-by: Marius 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: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/corsair-cpro.c