]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
platform/x86: asus-nb-wmi: Make use of dmi->ident
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Wed, 30 Nov 2016 01:08:49 +0000 (23:08 -0200)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:29:04 +0000 (09:29 -0800)
Make use of dmi->ident as other drivers do, like fujitsu, intel,
hp and samsung.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-nb-wmi.c

index 3ac4f48895dd37b4e79d8a2a2dc3293528309cad..c39355d28a8cc735f69b9c8d58da1b42c693ae86 100644 (file)
@@ -122,6 +122,7 @@ static struct quirk_entry quirk_asus_x550lb = {
 
 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;
 }