On Wednesday 29 January 2020 16:08:38 Haochen Tong wrote: > Tests have shown that this module works fine on XPS 13 9360: it can > successfully detect and report fan status. > > Signed-off-by: Haochen Tong <i@xxxxxxxxxxxx> > --- > drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c > index 17583bf8c2dc..d9f6394c08d6 100644 > --- a/drivers/hwmon/dell-smm-hwmon.c > +++ b/drivers/hwmon/dell-smm-hwmon.c > @@ -1104,6 +1104,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = { > }, > .driver_data = (void *)&i8k_config_data[DELL_XPS], > }, > + { > + .ident = "Dell XPS 13 9360", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), > + DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"), Hello! In patch 2/2 you are using DMI_EXACT_MATCH. I think it does not make sense to use substring match in one case and exact match in another case for one specific machine. I would suggest to use one type of match for both cases. > + }, > + }, > { > .ident = "Dell XPS 15 9560", > .matches = { -- Pali Rohár pali.rohar@xxxxxxxxx