lkml.org 
[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/platform] x86/mid/thermal: Add msic_thermal alias
Commit-ID:  634830704d80ee0f544c16ea3c19dd2e819d2256
Gitweb: http://git.kernel.org/tip/634830704d80ee0f544c16ea3c19dd2e819d2256
Author: Mika Westerberg <mika.westerberg@linux.intel.com>
AuthorDate: Mon, 5 Mar 2012 15:01:03 -0800
Committer: Ingo Molnar <mingo@elte.hu>
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@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
[ Updated to rename rather than add an entry as er discussion with Mika & Durgadoss R]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-gyrbptvkozsbp2yk3ssu084o@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
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 },

\
 
 \ /
  Last update: 2012-03-06 17:15    [W:0.026 / U:7.876 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site