Skip to contentSkip to conversation

x86/mid/thermal: Add msic_thermal alias

tip:x86/platform tip-bot for Mika Westerberg 1 participant 1 message Mar 6, 2012 x86 platform drivers

lore
Share & tools
lore
#0 lore raw
Commit-ID:  634830704d80ee0f544c16ea3c19dd2e819d2256
Gitweb:     http://git.kernel.org/tip/634830704d80ee0f544c16ea3c19dd2e819d2256
Author:     Mika Westerberg <[email protected]>
AuthorDate: Mon, 5 Mar 2012 15:01:03 -0800
Committer:  Ingo Molnar <[email protected]>
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.

[ Updated to rename rather than add an entry as er discussion with Mika & Durgadoss R]
Cc Matthew Garrett <[email protected]>
---
 drivers/platform/x86/intel_mid_thermal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/platform/x86/intel_mid_thermal.c +1 -1
index d824a71..5917b3c 100644
@@ -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 },