From: Frank Gevaerts Date: Tue, 11 Apr 2006 05:53:51 +0000 (-0700) Subject: [PATCH] hdaps: add support for Thinkpad R52 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=653edba1a8b2ed018bdfb078131324dfbfe1dd6a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] hdaps: add support for Thinkpad R52 This adds support for my Thinkpad R52, which for some reason is not matched by the "ThinkPad R52" line. Signed-off-by: Frank Gevaerts Cc: Robert Love Cc: Dmitry Torokhov Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index 23a9e1ea8e3..9e6c5f9967d 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c @@ -515,6 +515,7 @@ static int __init hdaps_init(void) /* Note that DMI_MATCH(...,"ThinkPad T42") will match "ThinkPad T42p" */ struct dmi_system_id hdaps_whitelist[] = { + HDAPS_DMI_MATCH_NORMAL("ThinkPad H"), HDAPS_DMI_MATCH_INVERT("ThinkPad R50p"), HDAPS_DMI_MATCH_NORMAL("ThinkPad R50"), HDAPS_DMI_MATCH_NORMAL("ThinkPad R51"),