[tip: x86/cleanups] x86/rtc: Remove unused intel-mid.h

From: tip-bot2 for Andy Shevchenko
Date: Wed Apr 03 2024 - 11:34:50 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 62fbc013c185896080bc5c7f6dfb26f0746eb217
Gitweb: https://git.kernel.org/tip/62fbc013c185896080bc5c7f6dfb26f0746eb217
Author: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
AuthorDate: Tue, 05 Mar 2024 18:10:24 +02:00
Committer: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
CommitterDate: Wed, 03 Apr 2024 08:24:48 -07:00

x86/rtc: Remove unused intel-mid.h

The rtc driver used to be disabled with a direct check for Intel MID
platforms. But that direct check was replaced long ago (see second
link). Remove the (unused since 2016) include.

[ dhansen: rewrite changelog to include some history ]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20240305161024.1364098-1-andriy.shevchenko%40linux.intel.com
Link: https://lore.kernel.org/all/1460592286-300-5-git-send-email-mcgrof@xxxxxxxxxx
---
arch/x86/kernel/rtc.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/rtc.c b/arch/x86/kernel/rtc.c
index 2e70669..51a849a 100644
--- a/arch/x86/kernel/rtc.c
+++ b/arch/x86/kernel/rtc.c
@@ -10,7 +10,6 @@
#include <asm/vsyscall.h>
#include <asm/x86_init.h>
#include <asm/time.h>
-#include <asm/intel-mid.h>
#include <asm/setup.h>

#ifdef CONFIG_X86_32