Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25511
b: refs/heads/master
c: 0f6c840
h: refs/heads/master
i:
  25509: cbb8e93
  25507: 10d91b8
  25503: 6f0499f
v: v3
  • Loading branch information
Robert Love authored and Linus Torvalds committed Apr 11, 2006
1 parent d7e5934 commit 75ce824
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 80e8ff634169be3fc2ac48f258cc7638e898cd46
refs/heads/master: 0f6c840d774d669baf4727c0499ab0674826429f
11 changes: 11 additions & 0 deletions trunk/drivers/hwmon/hdaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,15 @@ static int hdaps_dmi_match_invert(struct dmi_system_id *id)
} \
}

#define HDAPS_DMI_MATCH_LENOVO(model) { \
.ident = "Lenovo " model, \
.callback = hdaps_dmi_match_invert, \
.matches = { \
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), \
DMI_MATCH(DMI_PRODUCT_VERSION, model) \
} \
}

static int __init hdaps_init(void)
{
int ret;
Expand All @@ -525,9 +534,11 @@ static int __init hdaps_init(void)
HDAPS_DMI_MATCH_INVERT("ThinkPad T42p"),
HDAPS_DMI_MATCH_NORMAL("ThinkPad T42"),
HDAPS_DMI_MATCH_NORMAL("ThinkPad T43"),
HDAPS_DMI_MATCH_LENOVO("ThinkPad T60p"),
HDAPS_DMI_MATCH_NORMAL("ThinkPad X40"),
HDAPS_DMI_MATCH_NORMAL("ThinkPad X41 Tablet"),
HDAPS_DMI_MATCH_NORMAL("ThinkPad X41"),
HDAPS_DMI_MATCH_LENOVO("ThinkPad X60"),
{ .ident = NULL }
};

Expand Down

0 comments on commit 75ce824

Please sign in to comment.