From patchwork Tue Jun 27 10:12:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113353 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8088031vqr; Tue, 27 Jun 2023 03:23:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MbAj+QvOWg/1Zn1sxzOaWu2+eYzes3ASG8TW376kE56iphculTjYaJQ8S22KfUoxti17u X-Received: by 2002:a05:6358:54:b0:131:e8f9:c6e3 with SMTP id 20-20020a056358005400b00131e8f9c6e3mr12571739rwx.5.1687861413674; Tue, 27 Jun 2023 03:23:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861413; cv=pass; d=google.com; s=arc-20160816; b=dAiR4CKs5CYfUzkVWPb1qHTKGqTnjq5ZpgD57ULThWh79uPWfUJ7+M43iG2wt7iqAQ osfTgvWzY7P3gNQyHAWO83NP691XJPEaIjKQpJR4i0GnbcRbe243xrbw4BtGgTIaWrro 3+MCoEICbGgjV2YYiuGoQBWfMhbCXDU3iJHgzLGKXihfwPNJHw1SRhp+1xn2oIize8gq GkcAj28belfaNB0JgM2Bn/tJnUKw+6DUdsveCyEbHlGNo2OeIRFHO5UK52V1/jeKXFuX amu0KU3gqwtWofK1LiekEIb0bE6OVz5xoyG9yg1LV0Av0SmUPRfSe5zOHiXsCMSC+Vky xk6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uzTSIJYMmoLn5EIxLfmFq6obAH5S0cEnt6fbeGBq/3I=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=A9N95SKB+5QVLW2x46Oa1ik/NAFMa87UjIi6P8f1+MH1BKyZEou7z/6lLUhp0g9ce3 fczp8ME19bmETNn4W27m2bv6wSbQu1OcwPYrdYl2r5SmKM9SaGExjzctw8KUMhQHqF7c wUtj0S0AfZZZgpA4KxAz1RtSKlfNJRwmNXxVxQlBxG/1H2j4KyISST/fdnUguj3deaej IVEzLtwK9JKZ/vJ3l27a00dDIzcSuuz6Uj5YEdDM4HDQ9lcyURWtgoeazTyMTbeZdLGE 3QRgpX8FE4RKSXYcxy6u1eu7GZHHW1L69UPIzuoAxImuRKosdGAPISHSVYoEdWsgfP82 Q1Jw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b="C/LCjQeb"; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020a656649000000b00553365f5bf0si6876581pgv.321.2023.06.27.03.23.20; Tue, 27 Jun 2023 03:23:33 -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; dkim=pass header.i=@vivo.com header.s=selector2 header.b="C/LCjQeb"; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbjF0KQo (ORCPT + 99 others); Tue, 27 Jun 2023 06:16:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbjF0KPn (ORCPT ); Tue, 27 Jun 2023 06:15:43 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB1492726; Tue, 27 Jun 2023 03:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zp63x4tbMFhoLRrSwLIM4vQkaZRfESWmY1FL25jSccfreU7iCdBls0OONuP6itglGsWjZ8/ulBWOU2kfjzqkdOnTx04UKJ0bgiX7mdMOaoEeb+JJ1rQATAg2cTAY4ss9wBMUlaSyYoGqWhdjSf27WXUSljzPtBCfj2YKmpkjgx6/7O0vP2UxTr7jSQvQxO0gerNUWDl+ttVrd7FEtBqtmJDwLLlBIgCxqjUMYnDug+xxYhUrshoxh7yRAaEKpN1TmywxJFxfcV6kw/jXZGOamnowGGFH43/b5JMGyAUDfLKJ4/JJV4x5omeFvohZgJDkzszeqkaW5j8EMHX9gbEeVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uzTSIJYMmoLn5EIxLfmFq6obAH5S0cEnt6fbeGBq/3I=; b=B09ry7KoqvsU9xtenivdARiQ3nnei4wBi+iUW3ioc52f/FfERdFbYWLA8vcdILEvQ4mNVcjOyG++55EXIluLeV19kZcx3YrJNyhf1qFRSZZI1zEiTNrRxphAwcknwSU/zW4gSGzgTA0LH7/pnxTWmdfhNY0A6EpGyoDEufTHCRT5I5lAoQGCHHNFiUPU1z0j66l2PLX2XF5lMacclP9rfGP1Z5PvnsD3NgJQ88+rvaIRCHc/ZIVI1nWVufMDXym2HrBKrAR0rC9xWZjHWrJl/sfdULIwF4puHDzeHDdgGnhy+waBMW2/ALBYpUEUZMH6s9R5thUvFR0cInZY+6fRTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uzTSIJYMmoLn5EIxLfmFq6obAH5S0cEnt6fbeGBq/3I=; b=C/LCjQebgT1+A6XXsceWjXsh2zCZ9RKprFbAVqNWo1U+Hy4PfS5EAORNGMEJKj9edSmcJkgJSYMQ/5uMNt65LFIJ9JV5YeA1fdm3UuN3abJabk0wsh17r6/dLx4wTetJvWCHrDyCRW2ukdYVEMzJjT/BvYmbw1djGvOF8cM3cdoxtR3JRpUzyvDmRWL7ncY53odAoq3C12WxyYhQW/MQf/8l+s+mmy3DP7qoIG61LRCLtR7Nt3mnoPnOr7F3uS873x+c6+1Xa2/HYZAqTIHSk9gg/rxPLO3PXOzhmF+5MIIfa5H8Ln2Jjh/SlCwaoTrw9evoy5B9mvBj4MhuvDAbbA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:47 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:47 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 13/15] thermal/drivers/rockchip: remove redundant msg Date: Tue, 27 Jun 2023 18:12:13 +0800 Message-Id: <20230627101215.58798-13-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 5402f56f-512e-4cc1-d106-08db76f73235 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y2t0mD++ElLxRlT1696kalN1X/jn+r79rpLhP9ZV7+V/Q7h2bRxahuzGiwnmS/5ht+FtQOIAYYuIpm0xmbnf8bt9yvyA0wioGI5RjAS2IMgtFQp4JUyK/trN/FXRrEnscHF1KNZzZihQ0pgQ1Nzi9Hzbmc1vFZa4loY0ET3tQKS1SxTpu/vacsgf5laB+rYNwTK4eE3k77Ce3vAO1zj6pgi9mc0NnF55J6fNvoMK2TheIDUNJ4t06L5xtIRx0q4wXIlTYnN9Zf/hKjFTQlNYa04wZCk49JU4n+b9GDFwtBxYN4/CN/cdC5zUhpL5dfFFD1mi3rxgwIoFlGALwtdlPrrzAtZZ+ifAqH29wkrNPcp7Ezl/4QWea1edEiI/m6tFbX1piAgiCj9VKVTiEw5Q6Gjlzk99wwv7HxSwbeQaYOTy66ihFatedCf8YCtEh/UKXoZUZkw9LwUjUS8bZ0z8yVa2yhJQ3nom/Ux9xCvx7ZdcCcP/eHPM+cwHn7j1B21ChiNDhSRPRShwE60OxVNtkqPnRS6YSpkWQMUeYE93KgwMsYRWB+F00MNcdjwy2DyUoj2M+IkXx8anf8SHMFV234zhjrVjiOig1vWS5j+UbIbEpQo1qkSzO0Wuaw+8y7w7RjyNj87PIVjXCnaFZUkq3g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NqgjzRpS15yjL39Qq69JLzfZ/znjmyiUZ8QX/WcpvUllDLHMfLwXQNOJd8LVsz9U8BXvF1Ht3VYY/vVGGTw4kqyrQExbjEC0cXVT7duYKzmK2zsfp+prEaOmL9gFEjg3cOql6psPkSC1VsJfNcGkIxYrqAAouMT7o6hx2Qdk7jmdHZW9pxz7Cxahh9WA47i8rJUJQrVCPXyubkR/sma0SL4q5XUV/4yqQLKnSdTl0iYgFqLZtWhXZJkV96Gabz5VlSSDTrgLQgdQgSHzNeglVyoslM6LU8fXRkFSJ+Ql4a88aK1TS6WdDTEWwh63lPRVLg7X2foDT1kHiaWyMacghi9pwhfntTcknG0DOAD2aUv7OtF7Nhh52gOhPPKp7TkD/+QySL0kvfJw+UgAUiiYTu4SBCosTsfIY2Y8hZv4Uxe0slDUxXHUDtIZ/rJ5iS6uy9lKpjw7oFjMAwefiznmx5PErgAIg6a7B+8eWVtj5eZ1EAx1o9/KPfbncgSS/5tPBEcOkWlVDtbLX+SPr89n9RQ7DOXicRyptDBa2Utawu/5LAkMpbUiPj+BdB/tAuS9gUuoZ2SjpQ8SAaWWZ8lO2dDOcnb6vzqWgkap0lQDidSbKACC+9JxQMai+/0FBCWOwETtnP2xl9p8Djbc1++U5hxkEs1ed3QLcXe/c3toHB4FA9wHCUbhx+w71CWoTSSg/AbbyVFF0XSKUwrltl8bomSARJ2zOiCMFYcJ064kRmLt3PrmJdMEiMLzcCZjmce7K9d+rEgkmyFoPahdRAGumEeXFaya0VCx6ybCfgS1YvnC2mTWTzDnaB9IeVIHA77qVh76Zhh1MizWabQ7TMDYnFp33boEwvJVKc0VxzIqGq7mD4b28dvY/Pwx6cs7s5dQjSE+KmqfxwNPjwMUDQsZ6YJ8t79KqGPT2T6kN0tkJvE/UrR17QHZxg9ELsJVhRhn/MdsmLRyWp+FD0NEKjbIv2hQ6fpaWa2uGCYXBhfpMhLpOCb1UXpGRP7NJprcvGz6V1uFaAyAmfflCM8noFCHpGfbTljIbmMy/WsDJeOWAY+tt5kM/htf/EoTmcIha3xpUk5jlrtqP3Qnr5Nd4b0eZTfQhzwzlV4KPmaungN4L5FbRfL4qLT10FW06iP5unWUAtYG6NB8sUeK3W5vSs6TNzzdv9RHY9l1AXeHgCP2V3/wSaLBRGpYWrXkjCJA31aaHVLuv72sj2PDRT2d7IDjl0CgzFWKYisC6gl1+UwuqHixeF8V4PXf5A/OAlH1D3a/JLY630CcQ44BzYxf/q0akJf6/82yyYg3PLqGbyVprotMjRzUj45DSs5bPe6q3YqsPo5IQwZ1mVZbneVVK8dUs8flIWTFJ540pT5qev2CmCaA2ardxGy2YMw7wLITZknPcjs6kj4Y6UNUwBFUmtpFbpFg3bpY4zhlysKAPG2A3ZMPVY+em7atbBUJMqkPnmCieJYz1jXlbGf+QHb9de1TEcrILLilyXYp/4p3xHdiGaeFk1FwpsPwKlGawTPEcvi1C8q2u9PHGLSwpJ64jtonw1NBM8tFnsFvTD0XmkuWn7fgYZEBBxZbQqH9d9SdJ2Nc X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5402f56f-512e-4cc1-d106-08db76f73235 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:47.6100 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7xLunnQH6wpc4JCmREya/GgAekfx+GYHBiggC9ObTALYYx+VktQIp2lztf7BrT2LM9+wS6Zk5tY1ENWFzsDTHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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?1769850969631090287?= X-GMAIL-MSGID: =?utf-8?q?1769850969631090287?= The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/rockchip_thermal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 77231a9d28ff..e741f5539389 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -1582,8 +1582,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev) IRQF_ONESHOT, "rockchip_thermal", thermal); if (error) - return dev_err_probe(&pdev->dev, error, - "failed to request tsadc irq.\n"); + return error; thermal->chip->control(thermal->regs, true);