From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70CD4CE7B04 for ; Thu, 28 Sep 2023 07:24:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230358AbjI1HYY (ORCPT ); Thu, 28 Sep 2023 03:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbjI1HYY (ORCPT ); Thu, 28 Sep 2023 03:24:24 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E36995 for ; Thu, 28 Sep 2023 00:24:22 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40651a726acso3157325e9.1 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=pVPByx+E7q+JHdOFG5572WZhlyVVPeunhA5iBl2nYX18wqJnyd3CpsvXcdv0eaPLmk Fm84KFwq1mxULWcP8CZGqFxrwsWnbVGD5AfnnDzIqRlauSGsxlfRYuI2+MLcIovFh4Id n9wsazGZRIFN7NNVMjETWndFP9f6BZTMoh5FzwKsLUNlG38s0LkPyhcFlUO1WwjDM/cp Ob5hVG4IdQK9+7x7R3vURfU8iAsUo9jVv7upfbtjXTJod7a1+W42Cb76XXZ+240PouGE ql1cVuzpRVn2gjOJfbMaYQx6w8+J72Yms+CjFqd2b0AZKwIoqnoxaKsWTOV3ewR+um/2 Ib6g== X-Gm-Message-State: AOJu0YzyY11EYtSgBvwn+zHd4zbOsnlyeeK93AbcEiVINXXpJJ9FEm2J +4d4/zmd32f+Lu1+JEOoK/YHfA== X-Google-Smtp-Source: AGHT+IEcIlXAmdvv9WcCA53AfD+QpBf5eGEwdf+8z26e7iBPCWPvls3jal7oS+TqSFQzP2rJYRmDnQ== 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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