mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] video: backlight-pwm: remove unused struct member
@ 2020-05-11  7:42 Ahmad Fatoum
  2020-05-11  7:42 ` [PATCH 2/2] video: backlight-pwm: set backlight dev.parent to hardware dev Ahmad Fatoum
  2020-05-12  7:46 ` [PATCH 1/2] video: backlight-pwm: remove unused struct member Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2020-05-11  7:42 UTC (permalink / raw)
  To: barebox

pwm_backlight.max_value is unused anywhere. Drop it.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 drivers/video/backlight-pwm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/backlight-pwm.c b/drivers/video/backlight-pwm.c
index c2979f914de8..fda23b8243f6 100644
--- a/drivers/video/backlight-pwm.c
+++ b/drivers/video/backlight-pwm.c
@@ -34,7 +34,6 @@ struct pwm_backlight {
 	unsigned int *levels;
 	int enable_gpio;
 	int enable_active_high;
-	int max_value;
 	int enabled;
 	unsigned int scale;
 };
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-12  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11  7:42 [PATCH 1/2] video: backlight-pwm: remove unused struct member Ahmad Fatoum
2020-05-11  7:42 ` [PATCH 2/2] video: backlight-pwm: set backlight dev.parent to hardware dev Ahmad Fatoum
2020-05-12  7:46 ` [PATCH 1/2] video: backlight-pwm: remove unused struct member Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox