[tip:x86/platform] x86/mid/thermal: Add msic_thermal alias

From: tip-bot for Mika Westerberg
Date: Tue Mar 06 2012 - 11:12:17 EST


Commit-ID: 634830704d80ee0f544c16ea3c19dd2e819d2256
Gitweb: http://git.kernel.org/tip/634830704d80ee0f544c16ea3c19dd2e819d2256
Author: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
AuthorDate: Mon, 5 Mar 2012 15:01:03 -0800
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Tue, 6 Mar 2012 09:01:25 +0100

x86/mid/thermal: Add msic_thermal alias

This device is called "msic_thermal" instead of "msic_sensor" on
actual boards so rename it.

Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
[ Updated to rename rather than add an entry as er discussion with Mika & Durgadoss R]
Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Matthew Garrett <mjg@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Link: http://lkml.kernel.org/n/tip-gyrbptvkozsbp2yk3ssu084o@xxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
drivers/platform/x86/intel_mid_thermal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c
index d824a71..5917b3c 100644
--- a/drivers/platform/x86/intel_mid_thermal.c
+++ b/drivers/platform/x86/intel_mid_thermal.c
@@ -543,7 +543,7 @@ static int mid_thermal_remove(struct platform_device *pdev)
return configure_adc(0);
}

-#define DRIVER_NAME "msic_sensor"
+#define DRIVER_NAME "msic_thermal"

static const struct platform_device_id therm_id_table[] = {
{ DRIVER_NAME, 1 },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/