From patchwork Wed Feb 15 00:54:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 57294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3291432wrn; Tue, 14 Feb 2023 17:03:14 -0800 (PST) X-Google-Smtp-Source: AK7set+wuMbDA9wnhvqSm6S/rl+v5U1pcvWnlTrzf1iTtLPF1FfhYwSXZQ1CY0FpwqOQaPUbVLsw X-Received: by 2002:aa7:dccf:0:b0:4ab:1625:908d with SMTP id w15-20020aa7dccf000000b004ab1625908dmr219378edu.16.1676422994211; Tue, 14 Feb 2023 17:03:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676422994; cv=none; d=google.com; s=arc-20160816; b=yekesDYr8+zOGwGLPAKhNllvu/4+kNXOTXruZJrVyyhGbYP5l294cRq/lFMBoGxsnq mnvG5FCy12+0PdnkfP6vr9bFoSK+VUK47I1jIQzkKfNLWe1vGDNPBink1esMuHNM47Ay XWpN8TH4QqZt8fCqOVK6hsBw+7evJ0awdPFTUX4YJGIZ0gtwdqtP/7if2vh44q4Ej8i8 GSm4IYxWfoNAiJmVP/6HDFYA9Ii+NZwCecxShYQahSl0yWj1SCZvzVhScWQ6DQxv5fGy K6LIuC0yPvQ4qujOycsWqWBF9nw73uxnVSt7wS3MsP2+CAomdjsYX7u43E+RXBuO/wr4 ZuAA== 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=R0+YLwoJeG1lbPWcGhYqflfsHm2donWIE0xl/OOxJo0=; b=AP3QxiMdEZJu7QIhCWGfqL5lMIqZf2M4Fu+5RjPp87YjcyoLulMaO1aDgbFNvsXCjc pIAVulE3bvuNYT3j30V0Y7qN07BwwBUuGEmG5AiODegBwEoJDC34rpkwyUbhK4NSdhb2 7IxE3VS5chRz3yJ4ZlOjF9mXN0h561jQAYpLoXuoUiFCXJK5qOSeS/XQciRDiqP9bLw0 //26evns3MW61Ll6RZX24xb2iL+2iJVrJ3qm/TbOFeM+Fs1qlgN3q3N/nfH7S/jI3Q+L zuLF5hqpZ6KDFn4kk0Txn17svRf4sPDU9svCLAqp7bBbxtCViMYhImhfeSXk+kHRwCfn w8Sw== 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 i25-20020a50fc19000000b004acd46cc71esi5395917edr.131.2023.02.14.17.02.46; Tue, 14 Feb 2023 17:03:14 -0800 (PST) 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 S231905AbjBOAzF (ORCPT + 99 others); Tue, 14 Feb 2023 19:55:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjBOAzD (ORCPT ); Tue, 14 Feb 2023 19:55:03 -0500 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED01C2CFC4; Tue, 14 Feb 2023 16:55:01 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VbhQfUe_1676422498; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VbhQfUe_1676422498) by smtp.aliyun-inc.com; Wed, 15 Feb 2023 08:54:59 +0800 From: Yang Li To: matthias.bgg@gmail.com Cc: rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, angelogioacchino.delregno@collabora.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Yang Li , Abaci Robot Subject: [PATCH -next] thermal/drivers/mediatek: Remove unneeded semicolon Date: Wed, 15 Feb 2023 08:54:57 +0800 Message-Id: <20230215005457.21242-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,SPF_HELO_NONE,SPF_PASS,TVD_SPACE_RATIO, UNPARSEABLE_RELAY,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?1757856917474849248?= X-GMAIL-MSGID: =?utf-8?q?1757856917474849248?= ./drivers/thermal/mediatek/lvts_thermal.c:520:2-3: Unneeded semicolon Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4058 Signed-off-by: Yang Li Reviewed-by: AngeloGioacchino Del Regno --- drivers/thermal/mediatek/lvts_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c index 84ba65a27acf..31d65fb50383 100644 --- a/drivers/thermal/mediatek/lvts_thermal.c +++ b/drivers/thermal/mediatek/lvts_thermal.c @@ -517,7 +517,7 @@ static int lvts_sensor_init(struct device *dev, struct lvts_ctrl *lvts_ctrl, */ lvts_sensor[i].msr = lvts_ctrl_data->mode == LVTS_MSR_IMMEDIATE_MODE ? imm_regs[i] : msr_regs[i]; - }; + } lvts_ctrl->num_lvts_sensor = lvts_ctrl_data->num_lvts_sensor;