From: Mika Westerberg Date: Mon, 5 Mar 2012 23:01:03 +0000 (-0800) Subject: x86/mid/thermal: Add msic_thermal alias X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=634830704d80ee0f544c16ea3c19dd2e819d2256;p=deliverable%2Flinux.git 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 Signed-off-by: Kirill A. Shutemov [ Updated to rename rather than add an entry as er discussion with Mika & Durgadoss R] Signed-off-by: Alan Cox Acked-by: H. Peter Anvin Cc: Matthew Garrett Signed-off-by: Andrew Morton Link: http://lkml.kernel.org/n/tip-gyrbptvkozsbp2yk3ssu084o@git.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c index d824a7188920..5917b3c83728 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 },