Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321876
b: refs/heads/master
c: a4f46bb
h: refs/heads/master
v: v3
  • Loading branch information
Manoj Iyer authored and Matthew Garrett committed Aug 17, 2012
1 parent a4cc0b4 commit 8497b3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2174ba29a3026d50aa0b59297821ea9cccd75cc
refs/heads/master: a4f46bb9fa84642e356898ee44b670989622f8bb
7 changes: 7 additions & 0 deletions trunk/drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -8664,6 +8664,13 @@ static int __must_check __init get_thinkpad_model_data(
tp->model_str = kstrdup(s, GFP_KERNEL);
if (!tp->model_str)
return -ENOMEM;
} else {
s = dmi_get_system_info(DMI_BIOS_VENDOR);
if (s && !(strnicmp(s, "Lenovo", 6))) {
tp->model_str = kstrdup(s, GFP_KERNEL);
if (!tp->model_str)
return -ENOMEM;
}
}

s = dmi_get_system_info(DMI_PRODUCT_NAME);
Expand Down

0 comments on commit 8497b3f

Please sign in to comment.