From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] video: backlight-pwm: remove unused struct member
Date: Mon, 11 May 2020 09:42:19 +0200 [thread overview]
Message-ID: <20200511074220.980266-1-ahmad@a3f.at> (raw)
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
next reply other threads:[~2020-05-11 7:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 7:42 Ahmad Fatoum [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200511074220.980266-1-ahmad@a3f.at \
--to=ahmad@a3f.at \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox