Skip to contentSkip to conversation

backlight: Do not include <linux/fb.h> in drivers

PATCH Applied Thomas Zimmermann 2 participants 18 messages Jan 31, 2025 – Feb 11, 2025

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

cover backlight: Do not include <linux/fb.h> in drivers

A number of backlight drivers include <linux/fb.h>. None of them requires anything from the header file, so remove the include statements.

Thomas Zimmermann (16):
backlight: 88pm860x_bl: Do not include <linux/fb.h>
backlight: adp5520_bl: Do not include <linux/fb.h>
backlight: adp8860_bl: Do not include <linux/fb.h>
backlight: adp8870_bl: Do not include <linux/fb.h>
backlight: as3711_bl: Do not include <linux/fb.h>
backlight: bd6107_bl: Do not include <linux/fb.h>
backlight: da903x_bl: Do not include <linux/fb.h>
backlight: da9052_bl: Do not include <linux/fb.h>
backlight: ep93xx_bl: Do not include <linux/fb.h>
backlight: hp680_bl: Do not include <linux/fb.h>
backlight: locomolcd: Do not include <linux/fb.h>
backlight: lv5207lp: Do not include <linux/fb.h>
backlight: max8925_bl: Do not include <linux/fb.h>
backlight: tps65217_bl: Do not include <linux/fb.h>
backlight: vgg2432a4: Do not include <linux/fb.h>
backlight: wm831x_bl: Do not include <linux/fb.h>

 drivers/video/backlight/88pm860x_bl.c | 1 -
 drivers/video/backlight/adp5520_bl.c  | 1 -
 drivers/video/backlight/adp8860_bl.c  | 1 -
 drivers/video/backlight/adp8870_bl.c  | 1 -
 drivers/video/backlight/as3711_bl.c   | 1 -
 drivers/video/backlight/bd6107.c      | 1 -
 drivers/video/backlight/da903x_bl.c   | 1 -
 drivers/video/backlight/da9052_bl.c   | 1 -
 drivers/video/backlight/ep93xx_bl.c   | 1 -
 drivers/video/backlight/hp680_bl.c    | 1 -
 drivers/video/backlight/locomolcd.c   | 1 -
 drivers/video/backlight/lv5207lp.c    | 1 -
 drivers/video/backlight/max8925_bl.c  | 1 -
 drivers/video/backlight/tps65217_bl.c | 1 -
 drivers/video/backlight/vgg2432a4.c   | 1 -
 drivers/video/backlight/wm831x_bl.c   | 1 -
 16 files changed, 16 deletions(-)
Signature · 1 line
2.48.1
#1 lore raw

PATCH 1/16 backlight: 88pm860x_bl: Do not include <linux/fb.h>

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/88pm860x_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/88pm860x_bl.c +0 -1
index 720b5ada7fe85..0a1db28240763 100644
@@ -11,7 +11,6 @@
 #include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
-#include <linux/fb.h>
 #include <linux/i2c.h>
 #include <linux/backlight.h>
 #include <linux/mfd/88pm860x.h>
Signature · 1 line
2.48.1
#2 lore raw

PATCH 2/16 backlight: adp5520_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/adp5520_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/adp5520_bl.c +0 -1
index aa5c15e8db86e..81c40d355aae4 100644
@@ -8,7 +8,6 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/mfd/adp5520.h>
 #include <linux/slab.h>
Signature · 1 line
2.48.1
#3 lore raw

PATCH 3/16 backlight: adp8860_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/adp8860_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/adp8860_bl.c +0 -1
index f51ada4795e8e..d4bbd7a7406b0 100644
@@ -11,7 +11,6 @@
 #include <linux/pm.h>
 #include <linux/platform_device.h>
 #include <linux/i2c.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/leds.h>
 #include <linux/slab.h>
Signature · 1 line
2.48.1
#4 lore raw

PATCH 4/16 backlight: adp8870_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/adp8870_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/adp8870_bl.c +0 -1
index ad4bd4c8f441d..e09e20492e7c1 100644
@@ -11,7 +11,6 @@
 #include <linux/pm.h>
 #include <linux/platform_device.h>
 #include <linux/i2c.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/leds.h>
 #include <linux/workqueue.h>
Signature · 1 line
2.48.1
#5 lore raw

PATCH 5/16 backlight: as3711_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/as3711_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/as3711_bl.c +0 -1
index e6f66bb35ef59..9f89eb19894e3 100644
@@ -10,7 +10,6 @@
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/err.h>
-#include <linux/fb.h>
 #include <linux/kernel.h>
 #include <linux/mfd/as3711.h>
 #include <linux/module.h>
Signature · 1 line
2.48.1
#6 lore raw

PATCH 6/16 backlight: bd6107_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/bd6107.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/bd6107.c +0 -1
index 90764f83d2f12..74567af84e97f 100644
@@ -10,7 +10,6 @@
 #include <linux/backlight.h>
 #include <linux/delay.h>
 #include <linux/err.h>
-#include <linux/fb.h>
 #include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
Signature · 1 line
2.48.1
#7 lore raw

PATCH 7/16 backlight: da903x_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/da903x_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/da903x_bl.c +0 -1
index 71f21bbc7a9fc..81ff42bec0ad4 100644
@@ -12,7 +12,6 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/mfd/da903x.h>
 #include <linux/slab.h>
Signature · 1 line
2.48.1
#8 lore raw

PATCH 8/16 backlight: da9052_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/da9052_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/da9052_bl.c +0 -1
index 5e13ef96b717c..f41523d78121b 100644
@@ -9,7 +9,6 @@
 
 #include <linux/backlight.h>
 #include <linux/delay.h>
-#include <linux/fb.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 
Signature · 1 line
2.48.1
#9 lore raw

PATCH 9/16 backlight: ep93xx_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/ep93xx_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/ep93xx_bl.c +0 -1
index 2387009d452d0..f59effc023528 100644
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 
 #define EP93XX_MAX_COUNT		255
Signature · 1 line
2.48.1
#10 lore raw

PATCH 10/16 backlight: hp680_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/hp680_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/hp680_bl.c +0 -1
index fa9a983533b2d..d8c2e4ada384b 100644
@@ -15,7 +15,6 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/spinlock.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 
 #include <cpu/dac.h>
Signature · 1 line
2.48.1
#11 lore raw

PATCH 11/16 backlight: locomolcd: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/locomolcd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/locomolcd.c +0 -1
index 346d3e29a8435..1b493fb0516db 100644
@@ -16,7 +16,6 @@
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/interrupt.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 
 #include <asm/hardware/locomo.h>
Signature · 1 line
2.48.1
#12 lore raw

PATCH 12/16 backlight: lv5207lp: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/lv5207lp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/lv5207lp.c +0 -1
index 5f60989fa70f2..a205f004eab24 100644
@@ -9,7 +9,6 @@
 
 #include <linux/backlight.h>
 #include <linux/err.h>
-#include <linux/fb.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
 #include <linux/platform_data/lv5207lp.h>
Signature · 1 line
2.48.1
#13 lore raw

PATCH 13/16 backlight: max8925_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/max8925_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/max8925_bl.c +0 -1
index e607ec6fd4bf4..4ac20a59e007f 100644
@@ -9,7 +9,6 @@
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
-#include <linux/fb.h>
 #include <linux/i2c.h>
 #include <linux/backlight.h>
 #include <linux/mfd/max8925.h>
Signature · 1 line
2.48.1
#14 lore raw

PATCH 14/16 backlight: tps65217_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/tps65217_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/tps65217_bl.c +0 -1
index d96d713fe7db3..8aa860350644f 100644
@@ -11,7 +11,6 @@
 #include <linux/kernel.h>
 #include <linux/backlight.h>
 #include <linux/err.h>
-#include <linux/fb.h>
 #include <linux/mfd/tps65217.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
Signature · 1 line
2.48.1
#15 lore raw

PATCH 15/16 backlight: vgg2432a4: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/vgg2432a4.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/vgg2432a4.c +0 -1
index bfc1913e8b55e..3005eba6c82c7 100644
@@ -10,7 +10,6 @@
 
 #include <linux/delay.h>
 #include <linux/err.h>
-#include <linux/fb.h>
 #include <linux/init.h>
 #include <linux/lcd.h>
 #include <linux/module.h>
Signature · 1 line
2.48.1
#16 lore raw

PATCH 16/16 backlight: wm831x_bl: Do not include <linux/fb.h>

In reply to Thomas Zimmermann

This driver does not require <linux/fb.h>. Remove the include statement.

---
 drivers/video/backlight/wm831x_bl.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/backlight/wm831x_bl.c +0 -1
index c5aaee205bdfb..49027f04a1ecb 100644
@@ -9,7 +9,6 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
-#include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/slab.h>
 
Signature · 1 line
2.48.1
maintainer Applied
#17 lore raw
In reply to Thomas Zimmermann
Quoted 22 lines · Thomas Zimmermann

A number of backlight drivers include <linux/fb.h>. None of them requires anything from the header file, so remove the include statements.

Thomas Zimmermann (16):
backlight: 88pm860x_bl: Do not include <linux/fb.h>
backlight: adp5520_bl: Do not include <linux/fb.h>
backlight: adp8860_bl: Do not include <linux/fb.h>
backlight: adp8870_bl: Do not include <linux/fb.h>
backlight: as3711_bl: Do not include <linux/fb.h>
backlight: bd6107_bl: Do not include <linux/fb.h>
backlight: da903x_bl: Do not include <linux/fb.h>
backlight: da9052_bl: Do not include <linux/fb.h>
backlight: ep93xx_bl: Do not include <linux/fb.h>
backlight: hp680_bl: Do not include <linux/fb.h>
backlight: locomolcd: Do not include <linux/fb.h>
backlight: lv5207lp: Do not include <linux/fb.h>
backlight: max8925_bl: Do not include <linux/fb.h>
backlight: tps65217_bl: Do not include <linux/fb.h>
backlight: vgg2432a4: Do not include <linux/fb.h>
backlight: wm831x_bl: Do not include <linux/fb.h>

Quoted 1 line

[...]

Applied, thanks!

[01/16] backlight: 88pm860x_bl: Do not include <linux/fb.h>

        commit: 9df4477179f1af4ff7adbacfa243819b57134b9c
[02/16] backlight: adp5520_bl: Do not include <linux/fb.h>
        commit: 769562042211e7a194e3dfde9436b42a3734e279
[03/16] backlight: adp8860_bl: Do not include <linux/fb.h>
        commit: a84877d7cc5b38dbbaad94ea7f8a784f8b12dbc8
[04/16] backlight: adp8870_bl: Do not include <linux/fb.h>
        commit: 1eeab5c83aa3c14790167c4d2b8786b257651bac
[05/16] backlight: as3711_bl: Do not include <linux/fb.h>
        commit: 9800ca9c96bc039a5e19391c446d1d69b211756a
[06/16] backlight: bd6107_bl: Do not include <linux/fb.h>
        commit: b6c775af0d2f1cf9376261180ce13e997dba583b
[07/16] backlight: da903x_bl: Do not include <linux/fb.h>
        commit: 68d112e043a4e9a5078eebc9302d5510d458681e
[08/16] backlight: da9052_bl: Do not include <linux/fb.h>
        commit: d670a4da1c60ab1004b79204c09b221eba8af93b
[09/16] backlight: ep93xx_bl: Do not include <linux/fb.h>
        commit: fcb0283338d760d37cd2701f6cd2bba0f5e78eb2
[10/16] backlight: hp680_bl: Do not include <linux/fb.h>
        commit: df14455987587fb5373eb216511e0f3ab24c5480
[11/16] backlight: locomolcd: Do not include <linux/fb.h>
        commit: 5f02729fadee6dedb638cdb8244f9447c8ad4ef9
[12/16] backlight: lv5207lp: Do not include <linux/fb.h>
        commit: 8c71b34c636cabb4101098cc6bb619ded9b0905f
[13/16] backlight: max8925_bl: Do not include <linux/fb.h>
        commit: aa021f33d2cb5061a2a02e1a3c8faea3a3d2f844
[14/16] backlight: tps65217_bl: Do not include <linux/fb.h>
        commit: d520ae4707fd6dafcb55649460059f67f54fc743
[15/16] backlight: vgg2432a4: Do not include <linux/fb.h>
        commit: d023cc09d9dbd5c6a4a81e0e3866c3b976d70891
[16/16] backlight: wm831x_bl: Do not include <linux/fb.h>
        commit: 373dacfeb55e1ac73dccd91b83437183ca0fbd43

--
Lee Jones [李琼斯]