From patchwork Fri Jun 2 09:14:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 102419 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp905294vqr; Fri, 2 Jun 2023 02:45:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ79lrE88J06GgABi4XW8n5w34Sv/fz5oGksmLrgAtc/FN15cuVk9QCeXtqTKdw6tUid73dX X-Received: by 2002:a05:6870:c7b1:b0:19f:214b:b852 with SMTP id dy49-20020a056870c7b100b0019f214bb852mr1688719oab.56.1685699146125; Fri, 02 Jun 2023 02:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685699146; cv=none; d=google.com; s=arc-20160816; b=QZBtLR2XWoamYapdA1Irf3BLedIgpE28HP/EdPoWZGD8oIx8cSVZqQG784R2lC2ZrE fcMzUK+eOc3RKcmkroNx15OOYr8eulb0lQQ/7HQiTno01uwBktkNa/y1Cg84LavYH1FD e9YB7J2vzFPTBL4Jd+rY8G6DnUvJr8dv4xMs4kKk9eTwrqQ0TluVI7ZPvUHDtrnls5bv qhkTMr6cVrKfaOfF7x6wnqSZ0ftOzjHjwkAp85nlGcpwhDFiOAx6YFIot1UkWMjB5U5M vJ0iic/qIYwQzeqKoqxhWWkpv622y8AKwYlXmErYhrnon1sMmYF9MVKhQaQQOvc7V/1B aWsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5ZnnDhC/JdCrY6LPa3BepwDb1brmY7PoOuS7riSiZWc=; b=uOQAge3hrL5QR5s1iB3TmiIKGtDE9e1WGL2ESufn41VXs3kzsoAhN8XyK5MR3YTUWx 3einPyo6WCmVPjYDKnxSj/Ya9vOdSUBYIcbKD1nDE3kZqscYB5BcOC3XdUYonYKzledS UyiUSQ/2sUXul7b8dXybh3MJjGGRZjoUHE9q4u46Ne4NS4Giw6k9bk/VpmGomozef9Ta 0ma5SnWI75CZ/DL7z2VTZ8kxHMWfZJJkq21Yq5aX5ykmb0N5UYruB7OICnq7QMxgfoTT xEr/husLxefz/+rZ0IX8D5SW/xpocPtBV0AOsfYJvuWjsDgOlKvBfgK7EnO4QazTxGyN FZHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t24-20020a639558000000b005404f8dd0easi727300pgn.292.2023.06.02.02.45.31; Fri, 02 Jun 2023 02:45:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234840AbjFBJPK (ORCPT + 99 others); Fri, 2 Jun 2023 05:15:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235186AbjFBJOr (ORCPT ); Fri, 2 Jun 2023 05:14:47 -0400 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FA8F10C4 for ; Fri, 2 Jun 2023 02:14:21 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R331e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0Vk9MjkN_1685697257; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vk9MjkN_1685697257) by smtp.aliyun-inc.com; Fri, 02 Jun 2023 17:14:18 +0800 From: Yang Li To: airlied@gmail.com Cc: daniel@ffwll.ch, khilman@baylibre.com, neil.armstrong@linaro.org, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] drm/meson: Remove unneeded semicolon Date: Fri, 2 Jun 2023 17:14:16 +0800 Message-Id: <20230602091416.107850-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767582426063794608?= X-GMAIL-MSGID: =?utf-8?q?1767583667546778905?= ./drivers/gpu/drm/meson/meson_dw_mipi_dsi.c:117:2-3: Unneeded semicolon ./drivers/gpu/drm/meson/meson_dw_mipi_dsi.c:231:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5392 Signed-off-by: Yang Li --- drivers/gpu/drm/meson/meson_dw_mipi_dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c index dd505ac37976..57447abf1a29 100644 --- a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c +++ b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c @@ -114,7 +114,7 @@ static int dw_mipi_dsi_phy_init(void *priv_data) case MIPI_DSI_FMT_RGB666_PACKED: case MIPI_DSI_FMT_RGB565: return -EINVAL; - }; + } /* Configure color format for DPI register */ writel_relaxed(FIELD_PREP(MIPI_DSI_TOP_DPI_COLOR_MODE, dpi_data_format) | @@ -228,7 +228,7 @@ static int meson_dw_mipi_dsi_host_attach(void *priv_data, case MIPI_DSI_FMT_RGB565: dev_err(mipi_dsi->dev, "invalid pixel format %d\n", device->format); return -EINVAL; - }; + } ret = phy_init(mipi_dsi->phy); if (ret)