hwmon: (dell-smm) Add comment explaining usage of i8k_config_data[]
authorArmin Wolf <W_Armin@gmx.de>
Thu, 21 Oct 2021 19:05:30 +0000 (21:05 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 21 Oct 2021 20:14:27 +0000 (13:14 -0700)
i8k_config_data[] should only be used for applying device specific
quirks in case autoconfig does not work properly on certain
devices.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20211021190531.17379-5-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index 5f0338b4a71709c739e99143117d3733d35fe754..0e1bc3a2dd12b8bb9c027e9730c3b630aa7adbf4 100644 (file)
@@ -996,6 +996,11 @@ enum i8k_configs {
        DELL_XPS,
 };
 
+/*
+ * Only use for machines which need some special configuration
+ * in order to work correctly (e.g. if autoconfig fails on this machines).
+ */
+
 static const struct i8k_config_data i8k_config_data[] __initconst = {
        [DELL_LATITUDE_D520] = {
                .fan_mult = 1,