rtc: omap: Remove unneeded semicolon
diff mbox series

Message ID 1576466353-45384-1-git-send-email-zhengbin13@huawei.com
State Accepted
Headers show
Series
  • rtc: omap: Remove unneeded semicolon
Related show

Commit Message

zhengbin Dec. 16, 2019, 3:19 a.m. UTC
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(-)

--
2.7.4

Comments

Alexandre Belloni Dec. 23, 2019, 10:08 a.m. UTC | #1
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.

Patch
diff mbox series

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);