linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: omap: Remove unneeded semicolon
@ 2019-12-16  3:19 zhengbin
  2019-12-23 10:08 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: zhengbin @ 2019-12-16  3:19 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, linux-rtc; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/rtc/rtc-omap.c:619:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/rtc/rtc-omap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index 988a4df..d4ed20f 100644
--- a/drivers/rtc/rtc-omap.c
+++ b/drivers/rtc/rtc-omap.c
@@ -616,7 +616,7 @@ static int rtc_pinconf_get(struct pinctrl_dev *pctldev,
 		break;
 	default:
 		return -ENOTSUPP;
-	};
+	}

 	*config = pinconf_to_config_packed(param, arg);

--
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtc: omap: Remove unneeded semicolon
  2019-12-16  3:19 [PATCH] rtc: omap: Remove unneeded semicolon zhengbin
@ 2019-12-23 10:08 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2019-12-23 10:08 UTC (permalink / raw)
  To: zhengbin; +Cc: a.zummo, linux-rtc

On 16/12/2019 11:19:13+0800, zhengbin wrote:
> Fixes coccicheck warning:
> 
> drivers/rtc/rtc-omap.c:619:2-3: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: zhengbin <zhengbin13@huawei.com>
> ---
>  drivers/rtc/rtc-omap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-23 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-16  3:19 [PATCH] rtc: omap: Remove unneeded semicolon zhengbin
2019-12-23 10:08 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).