From f0f0cc88435ba5f8280a83c54d6ade49ecce192f Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Sat, 25 Feb 2023 13:58:22 +0300 Subject: [PATCH] sinowealth-nubwo: remove usage of the deprecated LED type field --- src/driver-sinowealth-nubwo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/driver-sinowealth-nubwo.c b/src/driver-sinowealth-nubwo.c index 3a0f7b6d..193130c8 100644 --- a/src/driver-sinowealth-nubwo.c +++ b/src/driver-sinowealth-nubwo.c @@ -154,7 +154,6 @@ sinowealthnubwo_probe(struct ratbag_device *device) led->mode = RATBAG_LED_OFF; led->color.red = led->color.green = led->color.blue = 0xFF; led->colordepth = RATBAG_LED_COLORDEPTH_RGB_888; - led->type = RATBAG_LED_TYPE_SIDE; ratbag_led_set_mode_capability(led, RATBAG_LED_OFF); ratbag_led_set_mode_capability(led, RATBAG_LED_ON); ratbag_led_set_mode_capability(led, RATBAG_LED_BREATHING);