Message ID | 20230613095624.78789-3-frank.li@vivo.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org> 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 7BFBAC7EE2E for <linux-amlogic@archiver.kernel.org>; Tue, 13 Jun 2023 09:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qx5OhkDN0UxJJ1+EwcavTm072l/gowA7vOMBRVDAMzo=; b=mVl3HJ1B6dsUZY 0Uim8iSAVZxObtA4ygACuM0ozDSzFz6lS7JxlLmTxw9G2keQdbjEy/dWj6qZJ7ybnLwnEy8vCOs2F VeiNYkvD8ab66y9Rf5gjqgJirYwAeca3umMy/gqIebDaOmhaTbkZZ4zP5HgEIsFMBftgvG6ZGGiMc T+ySzdOSbgvqZoJ7sMFi83VSZx6nxF8zC+NPcZKPCHgAKi964gHDXUbyN+B75BW3IC0LceMjK9bRO 47//J/ribTfozJXwtYiyRH4JTSNvtkN01xctOdI9Pl2N18va5siKDb+WzpmxVu2Fl6FGhn92zDswp K0jzecPz2p7qwcyniY3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q90m3-007Ze6-29; Tue, 13 Jun 2023 09:57:15 +0000 Received: from mail-psaapc01on20719.outbound.protection.outlook.com ([2a01:111:f400:feae::719] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q90lu-007ZZU-02; Tue, 13 Jun 2023 09:57:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=khbyOLYBVUPX93GhKQ169V9J5VenjcpeEmO8RBkycbF0E6gSAgKU6Gm+qf4lrMg9P64BRDMieDWnKTNs7/+ogt2PjSAG83tnew21FfM0wR8juKEX0X0/tlkWEJrPzBEHTq5ejYMcXYM95Ohd63uBak7duZRZVZ3XtWC2jPKES4IaiZRRgaz1Y0WIkY9Iq+FnjbTJEDAQvebOXwFdQAndNdtNCbswX1XDdsFkAigEeq6kqY7Oqtac5kNaf7RgLtY3lSb0hP44fPCY7C5KO/4uxOwdrV0UiCHl3Rz5og6uVcQsxzhL7yQCF9wODlpFtQQdLxZgXTr6xhKbencOujdVuQ== 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=+3OBtGY/5chd6gxnhXKVzWiME3BSs4Qa259qqbn6U0M=; b=cxBJ42t+80G+QPLqo3pLLuCg82GP7uy801jvkq9CrOtmEp6cp4WTBS1y3X1RkMzJYezJueETspjwFIbY5xOLkhub1Xz/vT2ArJT3JhyNScwxqhH2SSwBbnq7jMCiOGxqCn3VSc+myoF8AR/gHqpD+jOhzRf8Yz1ZuZZflzEkQrMD3LWMNdtr3SESdTdiLTZBtsSige8GRluUE+IbEvb1p0k16TCd3bhBAzgEPBJg7X5ojLPGD1mctrCDgsU2AdLpafIyN3uMvgDSl93c9UNGkJXt9VoPfGEtj6eJa79l5sV0s0B0B5XSCoarKnxhn8kLjlBMChLYat5xnbfJmG/ltQ== 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=+3OBtGY/5chd6gxnhXKVzWiME3BSs4Qa259qqbn6U0M=; b=TwUcDeBUef26bO4uCt6sh5yKBTpgUeGePhzCOGb1LZ/4r7yTbEKfFcN30nMIcF0kWaVth0BVdjuSU1PEaSUFCVEiDOO2lKTnXwvaXTTTbmQeAK0XY2ZK5dvy/DKEzKxAHUZksvu/4O/bmlvWtfhhJsGpCXErV0XAm4WalmvsGX1IRcnyHqw6lGQ9AMXjUkHefpfTzgRJ1gShAoZy1ZaCNDeTA0/fft7rusDt517vTXNlQQEfvl8UjzKoCqwITAY/sS+FUdoPxVjPsrB55Yet67HaW8pRumSFZnv0tPv6aGBAUK9NvvE/aar4I8rM0gITmig9kwig0qn4ouXe0DY2Lg== 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 SI2PR06MB4012.apcprd06.prod.outlook.com (2603:1096:4:f9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.46; Tue, 13 Jun 2023 09:56:55 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::76d6:4828:7e80:2965]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::76d6:4828:7e80:2965%3]) with mapi id 15.20.6455.039; Tue, 13 Jun 2023 09:56:55 +0000 From: Yangtao Li <frank.li@vivo.com> To: glaroque@baylibre.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, thara.gopinath@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, anarsoul@gmail.com, tiny.windzz@gmail.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, thierry.reding@gmail.com, jonathanh@nvidia.com, edubezval@gmail.com, j-keerthy@ti.com, f.fainelli@gmail.com Cc: linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, Yangtao Li <frank.li@vivo.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> Subject: [RESEND 3/9] thermal/drivers/amlogic: remove redundant msg in amlogic_thermal_probe() Date: Tue, 13 Jun 2023 17:56:18 +0800 Message-Id: <20230613095624.78789-3-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230613095624.78789-1-frank.li@vivo.com> References: <20230613095624.78789-1-frank.li@vivo.com> X-ClientProxiedBy: SG2PR02CA0033.apcprd02.prod.outlook.com (2603:1096:3:18::21) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SI2PR06MB4012:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c2232c5-7e3b-4b7f-3968-08db6bf48534 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Fsjus5dFmEBfFKA4qpq9GakphRC06lbP0mje3pPnghpm785wWLbCf60cmkCMb7lVix0rhMp9gAn4uL8AYdZ4EVAsJdkyW9gipzAoDT37uTFQ9xCJ/dJpJw+Vh4kymBCoKz6YZR3ArdKUoQErtInjMl8yy6Up9Sj7F2YEvyoqMi6/eT+5Kmwxm2Drgq4FZKxMJgM4EcGsk77yrAIfqu53Dwq4pJ16x0E9h+DSYPuzB/h5Iq3IR2KnlUrXswvENxdoqWx8Xx93/DafPPZNTBsL3nfccwXKV3xuRlK3yUqG/ka40yJdUJykXHG92GQtq0jw3F0WwobxaeC1G0K5JcoGyFbmgDU5Mvp0onRFJxKsB/L6uXMMYnAOzeEBQdvo/1a6KH+vdoLUn1OMoP40+uJd3BHIAMsApTCbV/U2HSTNUutmXVlNqIj1q1jL7VT1BP2opbIplL84xXlsZGbWl82LqVH8QBulAGqtTzKvkzxeDSBu4r5oyOjJAST7slXxBFcfOPp/oqe5iIUfEuRyfJfPyT+l2gDBLL2QpUW1o6y+GLBmgYojhtNnLHLULrAGhZ0W1MflVEB8362CMmczy4we3MT3umYis/rhhrXYfmEGhGDqro5SE5/EHQxtNUQjDd263PB/JvNcrbasRy/ywD3nxg== 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)(396003)(366004)(136003)(39860400002)(376002)(346002)(451199021)(4326008)(8936002)(66556008)(316002)(7406005)(7416002)(66476007)(41300700001)(186003)(2906002)(66946007)(54906003)(4744005)(478600001)(8676002)(5660300002)(6666004)(52116002)(6486002)(1076003)(921005)(6506007)(6512007)(26005)(36756003)(83380400001)(86362001)(38100700002)(2616005)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gTX90PoWwoMxRelS+WiGSTCbhJAeBjo9ZNisLX6mslHPOS3vINt6vW8dyrjENSN1/VdgXH2ScIBr23JLgQA249Fj5+qURDjc2D+TOVh4HPKaWl3bUsT5FHJyo+GC1Y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6if6NKB1L3N3ylriwaKqzVTgTJd5jJ1JvKREYdb2aHVOQ+VgHZ0+BSLnv5oITQdlK50YZujG3TG1rctVZ7bBebBi5EbenAMHglgB3S91i3fH7dUPDZAkTErMVkEvcg3hfX0R0aa2ezkzilDjucvm73jSnt7jpEzv8l6yCykfeyifH/v/LVKD4U0nqdtOkrzKfrup/I7CY0jDF9jzVmKFrsCR2YVhdoANqmcDNLfnqXYzM9aR18w/gMa82t10iDbgYgU+03MzJlvhrKaTADw4LsKuBt6MOVqR578/TYmDtHlzyT0CNGmwsqccdnci+/uVWGKAsFwxQW8NrrOW/JFuohs8/N7hAjmQGEKI5MdAn806dyy9iBRrY7HCZSV/gVEUu4LHk/RKqqDiZFFkip8Du X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c2232c5-7e3b-4b7f-3968-08db6bf48534 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2023 09:56:55.6621 (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: S0qq/9W4wI/CoxCKo6g+84999w6STuBnPcH/SLaRw88OyIzRgxON9XvrWTYkfREiNkoQOfMEEo8R6XvLAn7GSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB4012 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_025706_058687_961ABD30 X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org |
Series |
[RESEND,1/9] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
expand
|
diff --git a/drivers/thermal/amlogic_thermal.c b/drivers/thermal/amlogic_thermal.c index 3abc2dcef408..756b218880a7 100644 --- a/drivers/thermal/amlogic_thermal.c +++ b/drivers/thermal/amlogic_thermal.c @@ -282,8 +282,7 @@ static int amlogic_thermal_probe(struct platform_device *pdev) return ret; } - if (devm_thermal_add_hwmon_sysfs(&pdev->dev, pdata->tzd)) - dev_warn(&pdev->dev, "Failed to add hwmon sysfs attributes\n"); + devm_thermal_add_hwmon_sysfs(&pdev->dev, pdata->tzd); ret = amlogic_thermal_initialize(pdata); if (ret)