Skip to content

Commit 2879927

Browse files
Colin Ian Kingpavelmachek
authored andcommitted
leds: lm3532: make bitfield 'enabled' unsigned
The bitfield 'enabled' should bit unsigned, so make it unsigned. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
1 parent 7bbec6c commit 2879927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/leds/leds-lm3532.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ struct lm3532_led {
140140
int ctrl_brt_pointer;
141141
int num_leds;
142142
int full_scale_current;
143-
int enabled:1;
143+
unsigned int enabled:1;
144144
u32 led_strings[LM3532_MAX_CONTROL_BANKS];
145145
char label[LED_MAX_NAME_SIZE];
146146
};

0 commit comments

Comments
 (0)