From patchwork Mon Jun 26 12:55:15 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: 112940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7467620vqr; Mon, 26 Jun 2023 06:06:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5RY4sfomKXM5ltR64lZdDt/gisw2FFc6iCTtTdSbw7kx/htEXiGanY5YQNSPDByrEVaYpE X-Received: by 2002:a17:907:6e8f:b0:98b:7a75:9fe5 with SMTP id sh15-20020a1709076e8f00b0098b7a759fe5mr16752948ejc.31.1687784770701; Mon, 26 Jun 2023 06:06:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687784770; cv=pass; d=google.com; s=arc-20160816; b=Pmp2G+uqWalF6H9OwvAGra0ABX4R3QdoaAfpDq2+6HuzxErZtMiKdwFtxEfKh8l+sX lPtpFBwda3Ie/dWyTxgZ6OezcpC3fe2sJgZjCfs3d+7huWI/4XbACGujIfJ+BXOme+Jg yHLcXVwtEliwHRXtcTk6VqG0fXUyUH72kagnU/vedMbUBLz4caB3aFAsN+BB4P/DS6hv 5+iKXh5jFtG3MdvZJdh74CjZ9OAQe+gbk0UK6ZuB/fL4FK6VyY04m23Mjpt33+nMFO1z mhnGXlsTLVGtQaRl8TWWT08IFCXb5IC0hZSQLsExMoxhz8HErb9b9hZBvpyOMvG7egn9 GnsQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6lqpjmZVffUlgEPT3QBsipRTfKSLabUIdo+4UJjAbeQ=; fh=w/Fo3SwcCD2lqbpbXXIee6nsBRFvZw3Z62QOpF7dVfs=; b=UuTFIF51XFJbopt2QmZik4W3HgqKRmDbj281R5X/JEk8a11guZ+hqdJYi2kgLyw0iq UJjSIV4TzaB8OpklKbGeLYEgGommJuBUiBc50PW9YD+40hTstoHs2ViJXwlan6eaX9Ix xSN+d3gCeXnpY9klVCzE7MoblwAhf30DNe05VVg8YMrZbG1oQCSr/o7VDbdXcqg6e+4D H3fjCyKIWQwItSK/iOMz0hy2gSNanjbgKSFyOojMIred1Aywe1bZ9Fn451t3kGkO+8Cg x2DlaIL4/6XZ0vN0+ZWCPYuik/8dks/mnfiVnoKxGB6HIFKK/mxqzY23y4Pjymy3aJq0 qhDw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=hrql88WE; 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 q27-20020a1709060e5b00b0098e4b5fa4f2si1427149eji.854.2023.06.26.06.05.46; Mon, 26 Jun 2023 06:06:10 -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=hrql88WE; 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 S230003AbjFZMzh (ORCPT + 99 others); Mon, 26 Jun 2023 08:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjFZMzf (ORCPT ); Mon, 26 Jun 2023 08:55:35 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2104.outbound.protection.outlook.com [40.107.215.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34EEED8; Mon, 26 Jun 2023 05:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gB9fqNt4pKjdod/QkBU52fP23hob6o3qSXt5kU1FjvpT0ZgCP2tHkz6uOziRrrmo6iSO0YRuZpKEBPM5oyDPGErzHL2qrj1Kvooymqc7yvK2UKv095IJTg/C1Yiaaq/+11CpusjD9J1/CgcewILdeZs5j5TDuswBJRCI+jE72YrMNnJJM4WeZSE0Hm6fQa/IB+56uUmt69pjz+8nRjtUCkvOKAO7Vn1gBtZygSk4SW8UilXXJfq24KDmQ1eBPXJrwFbtU3ehGLgk8yASs+uYnq+4eWNxPJR5DeahnzFMX+oL3pVK2VcJktVIoI7ClJ3Rd3eqiAme+TaiFNIkvkueiw== 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=6lqpjmZVffUlgEPT3QBsipRTfKSLabUIdo+4UJjAbeQ=; b=FiNJzD2atRPaeCP+6Vbtc5t1Q+B4xE/dIRw+gP3h+mnkyUcWpkHgWJ+Y1JiUxl2mKU1ub8M+s1o5oHAG7noOM694fRWv97ioReBrA6SafHCiAw9avM7EvNSqmU/6vghG8L0L+OdTmk/+Hjcbu1rLOPGhc2qSsVyz6zA90fo4HPlPtdyXjHHcorT+GUApDcioPXVQwVrLY/KqpqJweGYk8LKShkY8lMdyFvXN8RocCMQwDJ/pgm/1UYavNkds084Cmac6iesPHLCRpC2ToA+s0h5AfBsASJx1y+PYDPWgpQjDHn0fJvtUMv/u9sBKoLCHzaeZ/7v1WiB8HN6Q+gn8mw== 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=6lqpjmZVffUlgEPT3QBsipRTfKSLabUIdo+4UJjAbeQ=; b=hrql88WEuFLqz9zLwt9fiYCGhFGMcv/+bmnrDYVg9C2yDK4nLdkvitXeCNG4NIm03zK0gBN9C322wjX2szgNFlPGrkHaTlQvtBZQhl/rm6FtnoKKzWqIWA7VErI/qj0W2X8Lc2uZYLaNToEqQgUqiXmOhBxM4gwyaeuEPhSwkAvux1g6wWb52riErS8pXSA8AEW8TDocu8Nzn/1UMlda8uuJfl0G/2cNzhg3e3DO6lvon6bwhzv195NCkqxqgMieiq5LOhMqxl413d+/R0i7MJu4BJWRmv/jg1s5Er2xpKa9dT4GCeFXpM5QfMRQQ0GjZqVoGr/3i5h3m6ZiC5ODsg== 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 KL1PR0601MB3956.apcprd06.prod.outlook.com (2603:1096:820:24::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Mon, 26 Jun 2023 12:55:28 +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; Mon, 26 Jun 2023 12:55:28 +0000 From: Yangtao Li To: Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Yangtao Li , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] thermal/drivers/sun8i: remove unneeded comments Date: Mon, 26 Jun 2023 20:55:15 +0800 Message-Id: <20230626125515.18830-1-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 X-ClientProxiedBy: SI2PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:196::11) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|KL1PR0601MB3956:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fdec005-ff72-404a-6969-08db76449da2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d8vGPndBsRGTpe24cFTkwSU4G8FigPp0vF7fig5LDzEdAnCKKwvmbVEvb6CgSuV3PfB/dpWU1AczNXkhbRLzKTaluMopO1H+OibSzBopky7FcPQjeccVHw3Wg4GqqiAcDTjt6hsVV951QBdrx4/E3RDdSY/NkmA0x1CQjv8o/UsJHwK28yO9lc6lkb/x1hmmQl6+QDDsQPvb3NHsul6XyK84+Wes2TXeurT+1KXuQyZc7gpaERv5ChUdiWY08varxNqgGizn19ql13Dp0VDmuZXETYdczNujOuTmUaJE62zCD5qZ5nESfvMBKtUIm8DjLka0MLqLk8alp4ojxSimhJ2cAjSZx1ZKjVD9J5W1Vulkm0XwHT4NlkuwyRbYDReCAFyB7Er6ZgHhrcS5X4vJVjmWDUyv/1Oam3YA+V7RZhrbo9c+sfmMle5NLKLWBMY+xcxHAEpPxos4AoRZeiEXzpI682DAqPfKRZ72zlxKhy/lsq32mfZVEABnIw3DESeEdtkoh4wMNgeWVGZxoGNJaU0APJ9jDXxHL6WseRzXHgSbkYwftY72Ep2nShNFDF66DUE0uX9+3cpTBjGQk7shhgr2/+6TayrU+VTXPg31vrmGYp9xp4tNVw8D0Umbxmzz 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)(376002)(136003)(366004)(39860400002)(451199021)(478600001)(6666004)(6486002)(52116002)(2616005)(110136005)(83380400001)(26005)(186003)(1076003)(6506007)(2906002)(4744005)(5660300002)(7416002)(36756003)(38350700002)(38100700002)(4326008)(66946007)(316002)(66556008)(8936002)(8676002)(41300700001)(86362001)(66476007)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R3mN1rPSTeDuCSNAP+yQQ6YPp4epUe/kyY6sqZXRB0386o8d5lA31EuX1FYelyEeqHTd3aKCfSOKV8qSHe0teeWLzZkol1E6kMQ8g2sg5Ps5CE/ylB77nYEdwEGTLjTobeoyi3TFwlaQFvC41IVf+TS+fZe+SZtAYQost85njvorEcmqViqPUIb/QuJeuYuEREjk/ZFzTi8+oQrSKH0WYd54Hm3Y7gS2nGks0XlQ5YGIu+jRrgwKhHjLpGLGel/UcZg2Q9vUbrt91VFCqUEwiWdM/0BjemorZP3D/r3L+UXp+YgEP5b5HHEsaJhlemCvhcuKgjpw5V8oU/gwhSRcHiCPQFWxLAIRrQTpE3BB0w6/bLby51rbaHNzj7mh6t0RSZ3GenrYoCouh5sD4mNjDprO3gb2TqdHIjeOM0kirrtiqQdc+BzWrCmYSjBpxMHL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+dbKebBk55SvI/SxNg/7rx6MfLzOiBSYF7BfiKFAEHiqcULGdhgFfU1MUOvh/9/ZzK6NQYHzUgjIFOI X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fdec005-ff72-404a-6969-08db76449da2 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2023 12:55:27.9614 (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: FxHaY4kGMKhyEL7n8uksUoYdjW0LbcPc6f/YAliPnWItvkSzTOIOz+M0aDZQrkw2lQyssRGXoMt3cZ5xDRyJUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB3956 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 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?1769770603935433204?= X-GMAIL-MSGID: =?utf-8?q?1769770603935433204?= It's redundant, let's remove it. Signed-off-by: Yangtao Li Acked-by: Jernej Skrabec --- drivers/thermal/sun8i_thermal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c index 195f3c5d0b38..2c82bc744a24 100644 --- a/drivers/thermal/sun8i_thermal.c +++ b/drivers/thermal/sun8i_thermal.c @@ -56,8 +56,6 @@ #define SUN50I_H6_THS_PC_TEMP_PERIOD(x) ((GENMASK(19, 0) & (x)) << 12) #define SUN50I_H6_THS_DATA_IRQ_STS(x) BIT(x) -/* millidegree celsius */ - struct tsensor { struct ths_device *tmdev; struct thermal_zone_device *tzd;