* [PATCH 15/45] drivers: pnp: remove duplicate includes
@ 2017-12-06 17:00 Pravin Shedge
2017-12-08 0:37 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Pravin Shedge @ 2017-12-06 17:00 UTC (permalink / raw)
To: rafael.j.wysocki; +Cc: linux-kernel, pravin.shedge4linux
These duplicate includes have been found with scripts/checkincludes.pl but
they have been removed manually to avoid removing false positives.
Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
---
drivers/pnp/quirks.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
index f054cdd..a0f9a91 100644
--- a/drivers/pnp/quirks.c
+++ b/drivers/pnp/quirks.c
@@ -227,8 +227,6 @@ static void quirk_ad1815_mpu_resources(struct pnp_dev *dev)
dev_info(&dev->dev, "made independent IRQ optional\n");
}
-#include <linux/pci.h>
-
static void quirk_system_pci_resources(struct pnp_dev *dev)
{
struct pci_dev *pdev = NULL;
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 15/45] drivers: pnp: remove duplicate includes
2017-12-06 17:00 [PATCH 15/45] drivers: pnp: remove duplicate includes Pravin Shedge
@ 2017-12-08 0:37 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2017-12-08 0:37 UTC (permalink / raw)
To: Pravin Shedge; +Cc: linux-kernel, linux-acpi
On 12/6/2017 6:00 PM, Pravin Shedge wrote:
> These duplicate includes have been found with scripts/checkincludes.pl but
> they have been removed manually to avoid removing false positives.
>
> Signed-off-by: Pravin Shedge <pravin.shedge4linux@gmail.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Or do you want me to apply this?
> ---
> drivers/pnp/quirks.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
> index f054cdd..a0f9a91 100644
> --- a/drivers/pnp/quirks.c
> +++ b/drivers/pnp/quirks.c
> @@ -227,8 +227,6 @@ static void quirk_ad1815_mpu_resources(struct pnp_dev *dev)
> dev_info(&dev->dev, "made independent IRQ optional\n");
> }
>
> -#include <linux/pci.h>
> -
> static void quirk_system_pci_resources(struct pnp_dev *dev)
> {
> struct pci_dev *pdev = NULL;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-08 0:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-06 17:00 [PATCH 15/45] drivers: pnp: remove duplicate includes Pravin Shedge
2017-12-08 0:37 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®