hwmon: (nzxt-kraken3) Decouple device names from kinds
authorAleksa Savic <savicaleksa83@gmail.com>
Sun, 28 Apr 2024 10:48:10 +0000 (12:48 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 30 Apr 2024 17:32:14 +0000 (10:32 -0700)
commitcbeb479ff4cd42f970e8149b18fcfd12b2180c46
tree13c2cad96f2798b32efd99332b096d1beaeaea1c
parent79a4c239e0a7d692520fbf4c1dc86b1fea53ea5e
hwmon: (nzxt-kraken3) Decouple device names from kinds

Prepare for the support of new models, for which the relationship
between device name (for hwmon and debugfs) and kind (for the selection
of appropriate code paths within this driver) will no longer be 1:1.

Originally-from: Jonas Malaco <jonas@protocubo.io>
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20240428104812.14037-2-savicaleksa83@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nzxt-kraken3.c