Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3052826rdh; Thu, 28 Sep 2023 00:38:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGakT1Dg0lpz1eS+m5rQMAJ+oh6HnwwCK4WODN2c/rS62+gLX97N5AKISoQ+gd11UHotSZC X-Received: by 2002:a17:90a:fb8a:b0:268:414c:ff3 with SMTP id cp10-20020a17090afb8a00b00268414c0ff3mr403710pjb.23.1695886736663; Thu, 28 Sep 2023 00:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695886736; cv=none; d=google.com; s=arc-20160816; b=YWjZ5Z8eqQrZpZADKnlq6hOa/3wxOiLAf6ISb23ze/4jfR+3k+4d9mMXhkIFN1b/zb VWqV8sTFb5+7JtWGjbL4MoccyPmWQKX/82NjPI3KuB+UAEfUhA/MU2SRQYTN3OEWdpj1 pMDmMfz4Hn8Ubt2jDs4IVl0k1W2e7NLR78Ocr2RmY1aGEFnznhHhvu0efv6u/f9JPXox VdsQDtKk8etSijyBn6LLLez71QYUVaNyT9chXGqSDKHgVjk6W12B/FffpjpEZKvsJe9D IWHc67eJEWA1uUFc2LbWuzZbPW4IAKDgRRVn1soKNSf2sF/ROymg/LW/tOiVaYTeR+UW AqyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+UA9uHWWeYBOdu4MsloFMHQ1l07sPdcS1vaYRXSvUR8=; fh=m0X/oytArEKD7xVRclrxSIpAMz4vi1vBL7kL27q+HkI=; b=PD3LmGOe08n1cmL/aBKM7yKVX93KLhYT7PgOWp/NIwsuMIpo7yV5JpZqZB1EB8sEqQ 4gP8A34jucp3E69jEPWbmENqLqvnJV/GG58FpnWQmTLmiwhCgVpttd3zbPWL4vsxUrll G2UZwIptNwXYbbN7QVOuzBugtSO9FRkBSK7es45L6mQw5jcZJGMmIR2hDxR1klQN9++9 yfbSRtfVUK3yAbm6R6zxzsAhihul+GeH2lsEvlUj9v/83yknHuFw5JDCBoakHu6V7hfC 417ZHklsgaPIPq2+ETP6/cJWmk1TewENLHQ6JiTvF0Jjz05Y2l8fDXRn2ayLE5VdpJWC Wf5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HcKSu2ff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ob3-20020a17090b390300b00277496b6ec1si12826488pjb.34.2023.09.28.00.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 00:38:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HcKSu2ff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 47A5D80D0809; Thu, 28 Sep 2023 00:24:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjI1HYZ (ORCPT + 99 others); Thu, 28 Sep 2023 03:24:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230316AbjI1HYY (ORCPT ); Thu, 28 Sep 2023 03:24:24 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2149499 for ; Thu, 28 Sep 2023 00:24:22 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-405361bba99so123804605e9.2 for ; Thu, 28 Sep 2023 00:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695885860; x=1696490660; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+UA9uHWWeYBOdu4MsloFMHQ1l07sPdcS1vaYRXSvUR8=; b=HcKSu2ffDMyf2m/+ZhRD5BKwWRMUnWt3xkFekzABD2LT9XhxMBDlg2E35GXOtsD1mq lR/zYCnbMIeVczvaAz9U2bqgQh+HFyP6z64V3oULZTC2BPjou/pFILeE6cPp/yAnnjnT rcDuXLnSqgOVJOubhK4oC84xKZcImgpZiuzYdJwBsRGIFGED1AUKHiYgLwMpEDveYzMm eocladxAXfHAcHhJzUbN28tUmofGJjOM3hKfqMy978uCsy2RnZFaBvecYH2T/d4H4MXB kKOZ9Ga5XBLGXv7eTOR+O+sytiL0HifPLVWebo0uspYuTSCD8UAuIKC0KANTd03ibWg+ Te5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695885860; x=1696490660; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+UA9uHWWeYBOdu4MsloFMHQ1l07sPdcS1vaYRXSvUR8=; b=cJkuKGepOnMmc1DxTj7k8PpYEXaddFz/tXzucFfjpztiQuGWBoDJ1byM+ckCEcUJHx LqIr5/Vnb3wIqgpB3xYreAR1QU+9W07K9rDPU0pCg3AkXZ2zS8DvkmTv0xJNr4zib2DW xAC5iodPCt3HKHFTiG3bNMse/k50CWvn42/Y9BggknxkchUnpuGBLOsbLONMjfwfRfJP H5veDT9TEclVvjiCeX6clWvSvwLWB6R8Kyzspc+NcTNSQXFMt+w0fVPjw7dpTkog6rm2 3f4Hj01r4TicbBxOgoIn48GD+iUG9FZme+vXZGej2HXuwhxRSx2sbTmSZr83lbjdy8nq EReA== X-Gm-Message-State: AOJu0Yxv5w721UodLPyrrsHea68HdJh70j4jZcWPpPEYkNJt832b3YO0 Km0rIUHzKz9ULAx7Vjd7JnnI9Ehi3DADp7gYa8U= X-Received: by 2002:a1c:6a09:0:b0:401:b76d:3b8b with SMTP id f9-20020a1c6a09000000b00401b76d3b8bmr406862wmc.16.1695885860422; Thu, 28 Sep 2023 00:24:20 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0? ([2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0]) by smtp.googlemail.com with ESMTPSA id u17-20020a05600c00d100b00405935b417asm9400467wmm.2.2023.09.28.00.24.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Sep 2023 00:24:20 -0700 (PDT) Message-ID: <87dd2af9-ea1f-7995-2b3b-eaed356c659e@linaro.org> Date: Thu, 28 Sep 2023 09:24:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v1 11/13] ACPI: thermal: Do not use trip indices for cooling device binding Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Linux ACPI , Srinivas Pandruvada , Zhang Rui , Lukasz Luba , "Rafael J. Wysocki" References: <1957441.PYKUYFuaPT@kreacher> <113039009.nniJfEyVGO@kreacher> From: Daniel Lezcano In-Reply-To: <113039009.nniJfEyVGO@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 28 Sep 2023 00:24:35 -0700 (PDT) On 21/09/2023 20:02, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Rearrange the ACPI thermal driver's callback functions used for cooling > device binding and unbinding, acpi_thermal_bind_cooling_device() and > acpi_thermal_unbind_cooling_device(), respectively, so that they use trip > pointers instead of trip indices which is more straightforward and allows > the driver to become independent of the ordering of trips in the thermal > zone structure. > > The general functionality is not expected to be changed. > > Signed-off-by: Rafael J. Wysocki > --- Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog