platform/x86: Remove unused intel-mid.h
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
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
@@ -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
Re: [PATCH v1 1/2] platform/x86: intel_scu_wdt: Remove unused intel-mid.h
Quoted 6 lines · Andy Shevchenko
intel-mid.his 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.Signed-off-by Andy Shevchenko <[email protected]>---
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@@ -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
PATCH 2/2 platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h
In reply to Andy Shevchenkointel-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
@@ -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
Re: [PATCH v1 2/2] platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h
Quoted 6 lines · Andy Shevchenko
intel-mid.his 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.Signed-off-by Andy Shevchenko <[email protected]>---
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@@ -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
Ilpo Järvinen
maintainerRe: [PATCH v1 2/2] platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h
In reply to Andy ShevchenkoQuoted 2 lines · Andy Shevchenko
intel-mid.his 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.
Signed-off-by Andy Shevchenko <[email protected]>--- drivers/platform/x86/intel_scu_pcidrv.c | 1 - 1 file changed, 1 deletion(-)drivers/platform/x86/intel_scu_pcidrv.c +0
-1@@ -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,
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.his 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