Skip to contentSkip to conversation

platform: asus-nb-wmi: Make use of dmi->ident

PATCH New Marcos Paulo de Souza 1 participant 1 message Nov 30, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform: asus-nb-wmi: Make use of dmi->ident

as other drives also do, like fujitsu, intel, hp and samsung.

---
 drivers/platform/x86/asus-nb-wmi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/asus-nb-wmi.c +1 -0
index 26e4cbc..c3abfc8 100644
@@ -118,6 +118,7 @@ static struct quirk_entry quirk_asus_ux303ub = {
 
 static int dmi_matched(const struct dmi_system_id *dmi)
 {
+	pr_info("Identified laptop model '%s'\n", dmi->ident);
 	quirks = dmi->driver_data;
 	return 1;
 }
Signature · 1 line
2.7.4