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 3D953E92707 for ; Thu, 5 Oct 2023 14:35:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235577AbjJEOfp (ORCPT ); Thu, 5 Oct 2023 10:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235389AbjJEOeQ (ORCPT ); Thu, 5 Oct 2023 10:34:16 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C0CC24875 for ; Thu, 5 Oct 2023 04:20:52 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50337b43ee6so1121094e87.3 for ; Thu, 05 Oct 2023 04:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696504850; x=1697109650; 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=AfjjBx8bRosL03zIEqb5fC4vsYyRufBl5/7gyLY5YvY=; b=pVXUvDcxNUXW6+THwL9jZb+yNvyRIIPsCJDfdl47zAG0kTrjnhCvDX5K+zS+Zhs+ui tRDkiUaCK2W4pFN0R2jc2dT+Aj7BjpUmT6Tqhh6/UMoCpIUmvsqDggo8aQ8u2bvkc7qF sv1p1cnUoUUWwCLyQFMvMJndP1PcnYxgdOkpj3uPkDBigp2qFkdrYsgK3KYDBeElxQXs hKZvK4vlhUNdFJIS6y5c7VzLeO9c4G5TsSx40Vpyo2OJXApZGFwd50hkfh8ww0Dm3gmm jV+RcmqPdFLS8fC0ROj8eyZj3xq7h9T1/OUDUG5S78KivRYfMHRa86VNcdksxuGjzIj7 xEZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696504850; x=1697109650; 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=AfjjBx8bRosL03zIEqb5fC4vsYyRufBl5/7gyLY5YvY=; b=ZEaoWBUg4tHdMXy4KSW+G0+ycUV6ewSqMWsK6WQwLqcY4rv+Q0i1CBCF5W37A4OE36 TRFDrvvZ6IzEHLxKHN+63ij77dXLXL/2PxPkcLPdLmfU0JLJ/OwSN/snN5ekJpNzreSe VPHZxhEQhsNFSbKTAu/4WbXBzNTzDCu5RjMSnpMSY1RBvL6xL5qa2O122PnF7j26SdJW UgZzzNZdGghmAlPSJSpy98VDV+Al9z51fJmdp/3rAyMqCiODpN9vVyDJthdvwgrGtDJC FpEAAk8qymdeLpH7A5IHwuTamQ3ToLbq/xuEZQ5Hoti/3IxSlc8TnY9tRadB23yrOQjT OIvw== X-Gm-Message-State: AOJu0YxcAbfWxnUd6jvqbfzXh3DptISAH6E5Bk3cw8Cvuh75KRZU6fpP ve/nsP8zavz+38cwKUHIFwTq5w== X-Google-Smtp-Source: AGHT+IF8iEf39U3EvChPzm6UH7GQU2jK7ervLMhE6RcloOs8ZvA9CjMZCrFvVxd2JoT2k/lXG3kZhg== X-Received: by 2002:a19:8c0e:0:b0:500:bc14:3e06 with SMTP id o14-20020a198c0e000000b00500bc143e06mr4555039lfd.44.1696504849804; Thu, 05 Oct 2023 04:20:49 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:8bb6:12b3:863a:e5dd? ([2a05:6e02:1041:c10:8bb6:12b3:863a:e5dd]) by smtp.googlemail.com with ESMTPSA id hn8-20020a05600ca38800b00405959bbf4fsm1297865wmb.19.2023.10.05.04.20.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Oct 2023 04:20:49 -0700 (PDT) Message-ID: <3620cb02-c6af-cd65-439c-92ea9c369174@linaro.org> Date: Thu, 5 Oct 2023 13:20:48 +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 v2 4/6] ACPI: thermal: Use thermal_zone_for_each_trip() for updating trips Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Linux ACPI , Zhang Rui , Srinivas Pandruvada , "Rafael J. Wysocki" References: <4846448.GXAFRqVoOG@kreacher> <1954465.PYKUYFuaPT@kreacher> From: Daniel Lezcano In-Reply-To: <1954465.PYKUYFuaPT@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 03/10/2023 15:24, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Rearrange the code handling notifications from the platform firmware > regarding trip point updates to carry out one loop over trip points > instead of two of them by using thermal_zone_for_each_trip() for that, > which is more straightforward than using a combination of > thermal_zone_device_exec() and for_each_thermal_trip(), each with its > own callback function. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog