Re: [PATCH v2 23/36] platform/x86: intel_pmc_ipc: Get rid of unnecessary includes
From: Andy Shevchenko
Date: Wed Jan 08 2020 - 11:47:38 EST
On Wed, Jan 08, 2020 at 02:41:48PM +0300, Mika Westerberg wrote:
> There is no point including headers that are not needed in the driver so
> drop them.
>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> ---
> drivers/platform/x86/intel_pmc_ipc.c | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
> index 83b106f66fa6..8527327d88c7 100644
> --- a/drivers/platform/x86/intel_pmc_ipc.c
> +++ b/drivers/platform/x86/intel_pmc_ipc.c
> @@ -12,23 +12,13 @@
> */
>
> #include <linux/acpi.h>
> -#include <linux/atomic.h>
> -#include <linux/bitops.h>
> #include <linux/delay.h>
> -#include <linux/device.h>
> #include <linux/errno.h>
> #include <linux/interrupt.h>
> #include <linux/io-64-nonatomic-lo-hi.h>
> -#include <linux/kernel.h>
> #include <linux/module.h>
> -#include <linux/notifier.h>
> #include <linux/pci.h>
> #include <linux/platform_device.h>
> -#include <linux/pm.h>
> -#include <linux/pm_qos.h>
> -#include <linux/sched.h>
> -#include <linux/spinlock.h>
> -#include <linux/suspend.h>
>
> #include <asm/intel_pmc_ipc.h>
>
> --
> 2.24.1
>
--
With Best Regards,
Andy Shevchenko