leds: lm3601x: fix semicolon.cocci warnings
PATCH 1/1 leds: lm3601x: fix semicolon.cocci warnings
From: Fengguang Wu <[email protected]>
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
---
url:
https://github.com/0day-ci/linux/commits/Dan-Murphy/dt-bindings-lm3601x-Introduce-the-lm3601x-driver/20180509-033939
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
for-next
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
I also received the following comment, but no other details. It would be good to check what is going on on the mentioned lines.
Quoted 1 line
Quoted 1 line
drivers/leds/leds-lm3601x.c:315:2-8: preceding lock on line 311
leds-lm3601x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/leds-lm3601x.c +1 -1
@@ -234,7 +234,7 @@ static int lm3601x_strobe_set(struct led ret = -EINVAL ; goto out; - }; + }if (led->strobe_timeout != current_timeout) ret = regmap_update_bits(led->regmap, LM3601X_CFG_REG,
All
Quoted 30 lines · Julia Lawall
From: Fengguang Wu <[email protected]>
Remove unneeded semicolon.
Generated by:
scripts/coccinelle/misc/semicolon.cocciFixes b550389fcb74 ("leds: lm3601x: Introduce the lm3601x LED driver")CC Dan Murphy <[email protected]>Signed-off-by Fengguang Wu <[email protected]>Signed-off-by Julia Lawall <[email protected]>---
url:
https://github.com/0day-ci/linux/commits/Dan-Murphy/dt-bindings-lm3601x-Introduce-the-lm3601x-driver/20180509-033939
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
for-next
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours agoI also received the following comment, but no other details. It would be good to check what is going on on the mentioned lines.
Quoted 1 line
Quoted 1 line
drivers/leds/leds-lm3601x.c:315:2-8: preceding lock on line 311
leds-lm3601x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/leds-lm3601x.c static int lm3601x_strobe_set(struct led · line 238
Quoted 6 lines
drivers/leds/leds-lm3601x.c +1
-1@@ -234,7 +234,7 @@ static int lm3601x_strobe_set(struct led ret = -EINVAL ; goto out; - }; + }
I will fix this in v3 of the patch submission.
Dan
Quoted 3 lines
drivers/leds/leds-lm3601x.c +0
-0if (led->strobe_timeout != current_timeout) ret = regmap_update_bits(led->regmap, LM3601X_CFG_REG,
Signature · 2 lines
------------------ Dan Murphy