From: ran jianping <[email protected]>
'linux/io.h' included in 'drivers/platform/x86/barco-p50-gpio.c'
is duplicated.It is also included on the 17 line.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: ran jianping <[email protected]>
---
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 f5c72e33f9ae..bb8ed8e95225 100644
--- a/drivers/platform/x86/barco-p50-gpio.c
+++ b/drivers/platform/x86/barco-p50-gpio.c
@@ -14,7 +14,6 @@
#include <linux/delay.h>
#include <linux/dmi.h>
#include <linux/err.h>
-#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/leds.h>
#include <linux/module.h>
--
2.25.1
>>>>> "cgel" == cgel zte <[email protected]> writes:
> From: ran jianping <[email protected]>
> 'linux/io.h' included in 'drivers/platform/x86/barco-p50-gpio.c'
> is duplicated.It is also included on the 17 line.
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: ran jianping <[email protected]>
> ---
> 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 f5c72e33f9ae..bb8ed8e95225 100644
> --- a/drivers/platform/x86/barco-p50-gpio.c
> +++ b/drivers/platform/x86/barco-p50-gpio.c
> @@ -14,7 +14,6 @@
> #include <linux/delay.h>
> #include <linux/dmi.h>
> #include <linux/err.h>
> -#include <linux/io.h>
It probably makes more sense to drop the include from line 17 to keep
alphabetical ordering, but otherwise it looks good to.
With that fixed:
Acked-by: Peter Korsgaard <[email protected]>
--
Bye, Peter Korsgaard