2022-03-23 22:26:01

by baihaowen

[permalink] [raw]
Subject: [PATCH V2] platform/x86: barco-p50-gpio: Fix duplicate included inux/io.h

Clean up the following includecheck warning:
drivers/platform/x86/barco-p50-gpio.c: linux/io.h is included more than once.

No functional change.

Signed-off-by: Haowen Bai <[email protected]>
---
V1->V2: drop the io.h include higher up to keep the (almost) alphabetical ordering.

drivers/platform/x86/barco-p50-gpio.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/platform/x86/barco-p50-gpio.c b/drivers/platform/x86/barco-p50-gpio.c
index f5c72e3..0553428 100644
--- a/drivers/platform/x86/barco-p50-gpio.c
+++ b/drivers/platform/x86/barco-p50-gpio.c
@@ -10,7 +10,6 @@

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

-#include <linux/io.h>
#include <linux/delay.h>
#include <linux/dmi.h>
#include <linux/err.h>
--
2.7.4


2022-03-25 14:03:06

by Peter Korsgaard

[permalink] [raw]
Subject: Re: [PATCH V2] platform/x86: barco-p50-gpio: Fix duplicate included inux/io.h

>>>>> "Haowen" == Haowen Bai <[email protected]> writes:

> Clean up the following includecheck warning:
> drivers/platform/x86/barco-p50-gpio.c: linux/io.h is included more than once.

> No functional change.

> Signed-off-by: Haowen Bai <[email protected]>
> ---
V1-> V2: drop the io.h include higher up to keep the (almost) alphabetical ordering.

Acked-by: Peter Korsgaard <[email protected]>

--
Bye, Peter Korsgaard