[RFC PATCH tip] sched/headers, fb: fix duplicated inclusion
From: kernel test robot
Date: Mon Jun 14 2021 - 23:13:32 EST
drivers/video/backlight/rave-sp-backlight.c: linux/backlight.h is included more than once.
drivers/video/backlight/lm3639_bl.c: linux/backlight.h is included more than once.
drivers/video/backlight/kb3886_bl.c: linux/backlight.h is included more than once.
drivers/video/backlight/da9052_bl.c: linux/backlight.h is included more than once.
drivers/video/backlight/cr_bllcd.c: linux/backlight.h is included more than once.
Generated by: scripts/checkincludes.pl
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
cr_bllcd.c | 1 -
da9052_bl.c | 1 -
kb3886_bl.c | 1 -
lm3639_bl.c | 1 -
rave-sp-backlight.c | 1 -
5 files changed, 5 deletions(-)
diff --git a/drivers/video/backlight/cr_bllcd.c b/drivers/video/backlight/cr_bllcd.c
index aa94e1dfbc2c4..570105c7c5f22 100644
--- a/drivers/video/backlight/cr_bllcd.c
+++ b/drivers/video/backlight/cr_bllcd.c
@@ -21,7 +21,6 @@
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/fb.h>
-#include <linux/backlight.h>
#include <linux/lcd.h>
#include <linux/pci.h>
#include <linux/slab.h>
diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c
index d805c57e8f9ac..3bdec323e98e7 100644
--- a/drivers/video/backlight/da9052_bl.c
+++ b/drivers/video/backlight/da9052_bl.c
@@ -7,7 +7,6 @@
* Author: David Dajun Chen <dchen@xxxxxxxxxxx>
*/
-#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/module.h>
diff --git a/drivers/video/backlight/kb3886_bl.c b/drivers/video/backlight/kb3886_bl.c
index 55800c904338c..3088455c03603 100644
--- a/drivers/video/backlight/kb3886_bl.c
+++ b/drivers/video/backlight/kb3886_bl.c
@@ -13,7 +13,6 @@
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/fb.h>
-#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/dmi.h>
#include <linux/backlight.h>
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c
index df26b7768eb9c..30731a8bb063e 100644
--- a/drivers/video/backlight/lm3639_bl.c
+++ b/drivers/video/backlight/lm3639_bl.c
@@ -7,7 +7,6 @@
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/leds.h>
-#include <linux/backlight.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
diff --git a/drivers/video/backlight/rave-sp-backlight.c b/drivers/video/backlight/rave-sp-backlight.c
index 71419c384293c..2dd46c32f6150 100644
--- a/drivers/video/backlight/rave-sp-backlight.c
+++ b/drivers/video/backlight/rave-sp-backlight.c
@@ -7,7 +7,6 @@
*
*/
-#include <linux/backlight.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mfd/rave-sp.h>