Thread (4 messages) 4 messages, 2 authors, 2018-12-10

Re: [PATCH -next] input: keyboard: remove duplicated include from mtk-pmic-keys.c

From: Lee Jones <hidden>
Date: 2018-12-10 10:07:35
Also in: linux-input, linux-mediatek, lkml

On Mon, 10 Dec 2018, YueHaibing wrote:
On 2018/12/10 14:15, Lee Jones wrote:
quoted
On Sun, 09 Dec 2018, YueHaibing wrote:
quoted
Remove duplicated include.

Signed-off-by: YueHaibing <redacted>
---
 drivers/input/keyboard/mtk-pmic-keys.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/input/keyboard/mtk-pmic-keys.c b/drivers/input/keyboard/mtk-pmic-keys.c
index 02c67a1..5027ebb 100644
--- a/drivers/input/keyboard/mtk-pmic-keys.c
+++ b/drivers/input/keyboard/mtk-pmic-keys.c
@@ -19,7 +19,6 @@
 #include <linux/input.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
-#include <linux/kernel.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/regmap.h>
You are removing the wrong one.
No, linux/kernel.h is a duplicated include indeed.
Actually both are not correct, but the first instance (at the top) is
even more incorrect.
quoted
Please convert this patch's main intent to alphabetise the header
files.  Then you can remove any obvious duplicates.
I can alphabetize it in v2 if need be.
Yes please.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help