From patchwork Thu Oct 17 04:06:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 13839434 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3503D2F7E5 for ; Thu, 17 Oct 2024 04:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Iwz05P1p61sVpu5xupITnxxL612xYYGx4kkmJtzWbM8=; b=x3+koEnNn3s5VHqrMzZs35oCV2 T3FkTMY7bPKrDnlhsApO3NAG+Y8KZDkLUR1PFohtxOiAaV1x2UGTbsEovMbil/+urw2NdB3Lk1wWr jQyLv+nBIBSbCiNYe0IiI0ucKbPP9bxgXv7bSjEIdgXjtAum4YfQKQ0Yi8XTp4CQUlBSuicTuEeXm oi0ga6XCqE6LlsTkrKAdF5G38NDvTzm3XSN1W7yImVRUARHeIrwVGQWaYm/baEiPq+uI5pYKY9YV4 ss8HqnmNl8QwqVuwQJirIC0VRqF4nwsRNsYZMXLM2379VBLW6D1VcBytYp+tbovaYfVI9gi6R+mCn zcbS2Xnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1HoT-0000000Dhgz-2saK; Thu, 17 Oct 2024 04:08:37 +0000 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1Hmz-0000000DhZt-2zxR; Thu, 17 Oct 2024 04:07:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1729138020; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=Iwz05P1p61sVpu5xupITnxxL612xYYGx4kkmJtzWbM8=; b=MaFRQ/4qlciqS3ELGqQnLYDhVCTLSkghW1OX3BD2I5G/UKaI/09kg7BBYvh09CB27d0oRVzmnbYAT2F3Jk1F3T+Mqu1p18PonyaAGE5+wDgkIEFV4poS6COqivNVw//z2wMCdj6NQmfPll1nOnTEx+JZtnsote2C38oZe32pnlw= Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0WHJR90w_1729138018 cluster:ay36) by smtp.aliyun-inc.com; Thu, 17 Oct 2024 12:06:59 +0800 From: Yang Li To: christian.bruel@foss.st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com Cc: linux-phy@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] phy: stm32: Remove unneeded semicolon Date: Thu, 17 Oct 2024 12:06:57 +0800 Message-Id: <20241017040657.33992-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.32.0.3.g01195cf9f MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_210706_419181_FC41DD87 X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch removes an unneeded semicolon after a switch statement. ./drivers/phy/st/phy-stm32-combophy.c:226:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11403 Signed-off-by: Yang Li --- drivers/phy/st/phy-stm32-combophy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/st/phy-stm32-combophy.c b/drivers/phy/st/phy-stm32-combophy.c index e1e7083ccb5f..765bb34fe358 100644 --- a/drivers/phy/st/phy-stm32-combophy.c +++ b/drivers/phy/st/phy-stm32-combophy.c @@ -223,7 +223,7 @@ static int stm32_combophy_pll_init(struct stm32_combophy *combophy) default: dev_err(combophy->dev, "Invalid rate 0x%x\n", clk_rate); return -EINVAL; - }; + } cr1_mask |= SYSCFG_COMBOPHY_CR1_REFCLKDIV2; cr1_val |= REFCLDIV_0;