projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbec6c
)
leds: lm3532: make bitfield 'enabled' unsigned
author
Colin Ian King
<colin.king@canonical.com>
Fri, 13 Mar 2020 17:19:37 +0000
(17:19 +0000)
committer
Pavel Machek
<pavel@ucw.cz>
Mon, 6 Apr 2020 20:44:18 +0000
(22:44 +0200)
The bitfield 'enabled' should bit unsigned, so make it unsigned.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lm3532.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-lm3532.c
b/drivers/leds/leds-lm3532.c
index 188a57da981a71145d017a761d31d75972eb7005..aa9bf8cda673b279f94fa6269a01e13e5d3f0dec 100644
(file)
--- a/
drivers/leds/leds-lm3532.c
+++ b/
drivers/leds/leds-lm3532.c
@@
-140,7
+140,7
@@
struct lm3532_led {
int ctrl_brt_pointer;
int num_leds;
int full_scale_current;
- int enabled:1;
+
unsigned
int enabled:1;
u32 led_strings[LM3532_MAX_CONTROL_BANKS];
char label[LED_MAX_NAME_SIZE];
};