dell-smm-hwmon.c: Add XPS 9570 to supported devices list
authorMichele Sorcinelli <michelesr@autistici.org>
Fri, 30 Nov 2018 18:42:56 +0000 (18:42 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:16 +0000 (15:13 -0800)
Allow the module to be loaded on Dell XPS 9570, without having to
provide the "force=1" option.

Signed-off-by: Michele Sorcinelli <michelesr@autistici.org>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index 9d3ef87..367a8a6 100644 (file)
@@ -1017,6 +1017,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9560"),
                },
        },
+       {
+               .ident = "Dell XPS 15 9570",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9570"),
+               },
+       },
        { }
 };