[PATCH RESENT] platform: asus-nb-wmi: Make use of dmi->ident

From: Marcos Paulo de Souza
Date: Tue Nov 29 2016 - 20:10:37 EST


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

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@xxxxxxxxx>
---
drivers/platform/x86/asus-nb-wmi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index 26e4cbc..c3abfc8 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -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;
}
--
2.7.4