From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934027AbeEII0Y (ORCPT ); Wed, 9 May 2018 04:26:24 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:39107 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933749AbeEII0W (ORCPT ); Wed, 9 May 2018 04:26:22 -0400 X-IronPort-AV: E=Sophos;i="5.49,381,1520895600"; d="scan'208";a="326248523" Date: Wed, 9 May 2018 10:26:19 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Dan Murphy cc: robh+dt@kernel.org, mark.rutland@arm.com, jacek.anaszewski@gmail.com, pavel@ucw.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, kbuild-all@01.org Subject: [PATCH] leds: lm3601x: fix semicolon.cocci warnings Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fengguang Wu Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: b550389fcb74 ("leds: lm3601x: Introduce the lm3601x LED driver") CC: Dan Murphy Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- 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. >> drivers/leds/leds-lm3601x.c:315:2-8: preceding lock on line 311 leds-lm3601x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/leds/leds-lm3601x.c +++ b/drivers/leds/leds-lm3601x.c @@ -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,