Skip to contentSkip to conversation

platform/x86: Remove unused intel-mid.h

PATCH In review Andy Shevchenko 3 participants 7 messages Mar 5, 2024 – Mar 6, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover platform/x86: Remove unused intel-mid.h

intel-mid.h is not used in the drivers, remove it.

Andy Shevchenko (2):
platform/x86: intel_scu_wdt: Remove unused intel-mid.h platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h

 drivers/platform/x86/intel_scu_pcidrv.c | 1 -
 drivers/platform/x86/intel_scu_wdt.c    | 1 -
 2 files changed, 2 deletions(-)
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
#1 lore raw

PATCH 1/2 platform/x86: intel_scu_wdt: Remove unused intel-mid.h

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular, this driver doesn't use it, so simply remove the unused header.

---
 drivers/platform/x86/intel_scu_wdt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/platform/x86/intel_scu_wdt.c +0 -1
index c2479777a1d6..a5031a25632e 100644
@@ -13,7 +13,6 @@
 
 #include <asm/cpu_device_id.h>
 #include <asm/intel-family.h>
-#include <asm/intel-mid.h>
 #include <asm/io_apic.h>
 #include <asm/hw_irq.h>
 
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH v1 1/2] platform/x86: intel_scu_wdt: Remove unused intel-mid.h

Quoted 6 lines · Andy Shevchenko

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular, this driver doesn't use it, so simply remove the unused header.

---

Looks good to me.

Quoted 15 lines
 drivers/platform/x86/intel_scu_wdt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/platform/x86/intel_scu_wdt.c +0 -1
index c2479777a1d6..a5031a25632e 100644
@@ -13,7 +13,6 @@
 
 #include <asm/cpu_device_id.h>
 #include <asm/intel-family.h>
-#include <asm/intel-mid.h>
 #include <asm/io_apic.h>
 #include <asm/hw_irq.h>
 
Signature · 2 lines
Sathyanarayanan Kuppuswamy
Linux Kernel Developer
#3 lore raw

PATCH 2/2 platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h

In reply to Andy Shevchenko

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular, this driver doesn't use it, so simply remove the unused header.

---
 drivers/platform/x86/intel_scu_pcidrv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/platform/x86/intel_scu_pcidrv.c +0 -1
index d904fad499aa..dbf0310448da 100644
@@ -11,7 +11,6 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 
-#include <asm/intel-mid.h>
 #include <asm/intel_scu_ipc.h>
 
 static int intel_scu_pci_probe(struct pci_dev *pdev,
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH v1 2/2] platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h

Quoted 6 lines · Andy Shevchenko

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular, this driver doesn't use it, so simply remove the unused header.

---

Looks fine to me.

Quoted 15 lines
 drivers/platform/x86/intel_scu_pcidrv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/platform/x86/intel_scu_pcidrv.c +0 -1
index d904fad499aa..dbf0310448da 100644
@@ -11,7 +11,6 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 
-#include <asm/intel-mid.h>
 #include <asm/intel_scu_ipc.h>
 
 static int intel_scu_pci_probe(struct pci_dev *pdev,
Signature · 2 lines
Sathyanarayanan Kuppuswamy
Linux Kernel Developer
maintainer
#5 lore raw

Re: [PATCH v1 2/2] platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h

In reply to Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular,

Both applied to review-ilpo. I fixed that double "are" for you while applying.

Signature · 1 line
 i.
Quoted 20 lines

this driver doesn't use it, so simply remove the unused header.

---
 drivers/platform/x86/intel_scu_pcidrv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/platform/x86/intel_scu_pcidrv.c +0 -1
index d904fad499aa..dbf0310448da 100644
@@ -11,7 +11,6 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 
-#include <asm/intel-mid.h>
 #include <asm/intel_scu_ipc.h>
 
 static int intel_scu_pci_probe(struct pci_dev *pdev,
#6 lore raw

Re: [PATCH v1 2/2] platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h

Quoted 7 lines · Ilpo Järvinen
Quoted 2 lines · Andy Shevchenko

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular,

Both applied to review-ilpo. I fixed that double "are" for you while applying.

Thank you!

Signature · 2 lines
With Best Regards,
Andy Shevchenko