Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp497455rwl; Thu, 23 Mar 2023 20:10:55 -0700 (PDT) X-Google-Smtp-Source: AK7set/PjUZxI09nz2EVvWmTkTKAHf29OX4/ZvMupqjVYFCbE+6sF03UCdT4UUlYje3bvl1QIQwp X-Received: by 2002:a05:6a20:4c17:b0:dd:f73d:17b with SMTP id fm23-20020a056a204c1700b000ddf73d017bmr1596468pzb.12.1679627455660; Thu, 23 Mar 2023 20:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679627455; cv=none; d=google.com; s=arc-20160816; b=pDjsmCRN/kJVtuVGBFJKDwsY4K1T5OLtqcIzYb1gQlHedeBV6EUvCG22m3SA7DBBGS 2buQ17tIhGE8Md8dpR0WcqbSTvghj34qmY0xk59OrZpUGiK6QgYlW3GDhFeJ+cq5KoPx ZEeWxbwUrWhLO16gjt2/b8q4BucvoF6jeRWZd2spSZL3NN4sjLqxuqmwJJFPUsKEmUaz EihmTTXSdbmTW3x5GpE/QCBlmNcTVECqn5xBBTI1Pg0Qq0MyTYS1R+oBpydC9e5DqGIS AZEviuaOyn9ecFd/l6r53+OiwnPLofQ5tHiPrNgJkJr2XDayQYo7O56/li+lNLQmwIPK JRyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:message-id:date; bh=WzWVpgnJLQzVfjCuM2mEQ/ZesKVeVmk53rFJQGsODwI=; b=YRVOZ+1Wq1uJ3VCbOyettCkdpE3ISgNbjQ+ITMCyHYxPfRon6l6RlyCQBWN9Y9VQHX np0vANEFjgozaOpT81jDhS5zwK5lFl1RlAxp78MJtPboFhAwrxWIP7Kq82gim8QSONTq +QV8DmiSG3Jr0jXGOtM9RjcXChlVgQhg+uycqSvyE8w56evYRQdw9IviE4v0kOU7RIC7 68jXZbWJtzTVjI34DjQMHBAXf5yBf5gtzeVOkfWm2B1BsA0tBp8Va0fkO4X9vNFDj1BO TdKFJEWKrO28GIMCI34/DUP7KEjiUVvwEt40O03pMjR5mS68TaWLBAYFQcsO01u/lx6s 1s9Q== 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=zte.com.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020aa79551000000b0062a3f8af25asi4444554pfq.59.2023.03.23.20.10.44; Thu, 23 Mar 2023 20:10:55 -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=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230382AbjCXDJI (ORCPT + 99 others); Thu, 23 Mar 2023 23:09:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbjCXDJG (ORCPT ); Thu, 23 Mar 2023 23:09:06 -0400 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A1DB28E5F; Thu, 23 Mar 2023 20:09:04 -0700 (PDT) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4PjRxq1NDYz8R03x; Fri, 24 Mar 2023 11:09:03 +0800 (CST) Received: from xaxapp01.zte.com.cn ([10.88.99.176]) by mse-fl2.zte.com.cn with SMTP id 32O38smi059329; Fri, 24 Mar 2023 11:08:54 +0800 (+08) (envelope-from ye.xingchen@zte.com.cn) Received: from mapi (xaxapp02[null]) by mapi (Zmail) with MAPI id mid31; Fri, 24 Mar 2023 11:08:55 +0800 (CST) Date: Fri, 24 Mar 2023 11:08:55 +0800 (CST) X-Zmail-TransId: 2afa641d14477cf-46207 X-Mailer: Zmail v1.0 Message-ID: <202303241108553006227@zte.com.cn> Mime-Version: 1.0 From: To: Cc: , , , , , , , , Subject: =?UTF-8?B?W1BBVENIXSB0aGVybWFsL2RyaXZlcnMvcm9ja2NoaXA6IHVzZcKgZGV2bV9yZXNldF9jb250cm9sX2FycmF5X2dldF9leGNsdXNpdmUoKQ==?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl2.zte.com.cn 32O38smi059329 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.250.137.novalocal with ID 641D144F.000 by FangMail milter! X-FangMail-Envelope: 1679627343/4PjRxq1NDYz8R03x/641D144F.000/10.5.228.133/[10.5.228.133]/mse-fl2.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 641D144F.000/4PjRxq1NDYz8R03x X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable 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 From: Ye Xingchen Switch devm_reset_control_array_get() to devm_reset_control_array_get_exclusive(). Signed-off-by: Ye Xingchen --- drivers/thermal/rockchip_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index bb254bdff043..85df34417159 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -1378,7 +1378,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev) if (IS_ERR(thermal->regs)) return PTR_ERR(thermal->regs); - thermal->reset = devm_reset_control_array_get(&pdev->dev, false, false); + thermal->reset = devm_reset_control_array_get_exclusive(&pdev->dev); if (IS_ERR(thermal->reset)) { error = PTR_ERR(thermal->reset); dev_err(&pdev->dev, "failed to get tsadc reset: %d\n", error); -- 2.25.1