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 BA197E7E632 for ; Tue, 26 Sep 2023 13:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234036AbjIZNFK (ORCPT ); Tue, 26 Sep 2023 09:05:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232437AbjIZNFJ (ORCPT ); Tue, 26 Sep 2023 09:05:09 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BCCCF3 for ; Tue, 26 Sep 2023 06:05:03 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-404314388ceso93904405e9.2 for ; Tue, 26 Sep 2023 06:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695733501; x=1696338301; 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=lUDqzgKzbv3Gg1WyHYLHJCasPYrE5OE5lNvp2LrCBsI=; b=Z6iQd7/7LL17In5CREozElEuYlrtbgW3E6GV8cU/d2xo3Aq7zNPKQwbwbVCSJRcn9q JZCBMChsW2iOMMsh6zhC8n5oBSdo7WWoSY6k9JjK5c7Dm7MZ598TEC6mi2DICLD1jdmH tSIobbXID7ARx2oVYk29fTA6a/08lt/mCmsw8uz8sEyC62EGbjmo09YLdKhZpNDXQyTR SL5FvZlCfaRZfxbpSjuVJvf39fc5O4T/A81PXMWnz9F3UrYU1unPCkxQIpIajoaznpKv BjuNwDxWzZbaT6Rj9gAQqmpzYllDMvxoMKS4YdZYa1ECHBtvaYmXz+aqk4NXyoJZwFHj bCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695733501; x=1696338301; 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=lUDqzgKzbv3Gg1WyHYLHJCasPYrE5OE5lNvp2LrCBsI=; b=pOxxr7CuIIwODKXmcTBvQgPqOXi/g4aQha2dTX1RMi6vhVN/akpm8gpyylBI2fKYug oNiVIDFr5TPkOcG26PUa2GDQLmttOxb0czISoWHwaywhU7yNs16azABariwQZ8yD7wBe nQkg3jySb3Kpfnw9lM2DcJXFQSXQmmCXAm2YV7hyEnguuXc7+oaWmYY/L4KLMsywtZuk TW4XesESu0h5jUQ8iL8C7unS9zbE+eWeXQ6VQd4GL3mGkF/84RvSv8hN/ftvbOa7rIoc nXKbHH8DHBAgu3tXas6naQnaQ9q+8r8bV1EHh4mv1F8AXNSjj4x7+pX//3lnAy3txBNm QX0A== X-Gm-Message-State: AOJu0YxyPOJpXabo/qEhjg4yymqLMFm5A0l1xtZi2MHtr3YMoEpDKcD5 cBQQxrt5nlVZ5pqEJUCAe9/Wqg== X-Google-Smtp-Source: AGHT+IEFUIftfFnlxqxC3wkhyOmlpvv9lNkeHx563zR0o5R8xM6Pg3jSugWsd4ebp22q79f/MEZ5hQ== X-Received: by 2002:a7b:ce92:0:b0:405:39b4:314f with SMTP id q18-20020a7bce92000000b0040539b4314fmr9421511wmj.24.1695733501384; Tue, 26 Sep 2023 06:05:01 -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 g10-20020a05600c308a00b003fee8793911sm11724064wmn.44.2023.09.26.06.05.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 06:05:00 -0700 (PDT) Message-ID: <3137cbd7-8c6e-486b-6572-33990b930bac@linaro.org> Date: Tue, 26 Sep 2023 15:04:59 +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 7/9] ACPI: thermal: Untangle initialization and updates of active trips Content-Language: en-US To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Linux PM , Zhang Rui , Srinivas Pandruvada References: <5708760.DvuYhMxLoT@kreacher> <22010294.EfDdHjke4D@kreacher> From: Daniel Lezcano In-Reply-To: <22010294.EfDdHjke4D@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 12/09/2023 20:43, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Separate the code needed to update active trips (in a response to a > notification from the platform firmware) as well as to initialize them > from the code that is only necessary for their initialization and > cleanly divide it into functions that each carry out a specific action. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog