lkml.org 
[lkml]   [2021]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] drivers: fix space-pre-comma typo in leds/leds-bd2802
Date
This removes a checkpatch error.

Signed-off-by: Hugo VALTIER <hugo@valtier.fr>
---
drivers/leds/leds-bd2802.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-bd2802.c b/drivers/leds/leds-bd2802.c
index 8bbaef5a2986..21745c10ead2 100644
--- a/drivers/leds/leds-bd2802.c
+++ b/drivers/leds/leds-bd2802.c
@@ -241,7 +241,7 @@ static void bd2802_enable(struct bd2802_led *led, enum led_ids id)
if (id == LED1)
value = LED_CTL(other_led_on, 1);
else
- value = LED_CTL(1 , other_led_on);
+ value = LED_CTL(1, other_led_on);

bd2802_write_byte(led->client, BD2802_REG_CONTROL, value);
}
--
2.25.1
\
 
 \ /
  Last update: 2021-12-26 14:06    [W:0.022 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site