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 01D1BE92708 for ; Thu, 5 Oct 2023 14:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233625AbjJEOTn (ORCPT ); Thu, 5 Oct 2023 10:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbjJEORX (ORCPT ); Thu, 5 Oct 2023 10:17:23 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C719124872 for ; Thu, 5 Oct 2023 04:20:16 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-313e742a787so511039f8f.1 for ; Thu, 05 Oct 2023 04:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696504815; x=1697109615; 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=D4AE5jS4qjwXCMnOlOFtdJ9RttCSKbWymcLORudPBgc=; b=vITy67iqXCawyJRrBYTbANj04Wqd82i9f+X41xRdVLpr9q1nrjp3lsGFiHlsCH4/Mm gYaoQefcPxWoF98ga9pncX77lQMPRQgXX5DlFeNEWdkrD7jVEA4VmiAonOKryk1TfyP8 Xf/ODAA7V8B2gZkU8C/xsfqPlqxWBhEehk7ysxdNpqytvgNkJj5CllMfDprn49pUEKT7 OlgtR6JFLaxWz3LozZJ5G3+wdPB+at/WpKJKi/DeZqjdgNeEx3aT5HuOoDzmhwmoJ19G RrDWYo6ObHQwOXN+QuZunJj8p0F5Nl5JdS7rlbIFcT3WQLYQL6NMEKxcncm3Le4s1NKf kqVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696504815; x=1697109615; 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=D4AE5jS4qjwXCMnOlOFtdJ9RttCSKbWymcLORudPBgc=; b=r05dC87MOq1c/OH0VxtCGCpQKQGGLdzAlbA8E7ZWkmwXl0p4GWv6re7TQTAQpUpQiS MBe3HKk0g+x/YZDBce1umjda//o7VQsKRq7+uLsp2c7abBoU4RapSH56R06lpCODxuKg a+s6htrkKgXwLAHzE5Mw6fpWVVTwfR8vhTNDYv9yG9vgrmjjfY93LMsiBexCxitk00r0 IlNeDmSvb7ddhF+VaGoz3z4qfROO2NEau9g7PT029lpVfATrMinNZefZfoA1wJfLn/qO 5R4sLs+Wx/28MPtH2g3qBpc1dpviSKq953U8hZoXITmak0QhjZx5gI3jCWYVdjdzH9fY rJwg== X-Gm-Message-State: AOJu0Yz0zZbBVNC4wzIpB5clnmmBKvgFRq8RMJGVOA8bbzQpjnUDvsTJ ek1mePcPnJ0XrUK293b3oug12s515N5yr/BF68A= X-Google-Smtp-Source: AGHT+IEI36e0d7npO9gHvSq0PCK8REknqrsXlLxeDQM2Vg3iDm3n0GAUq6RQUC7RZu5soOlpwzCm6w== X-Received: by 2002:a5d:6387:0:b0:323:1688:a70e with SMTP id p7-20020a5d6387000000b003231688a70emr1084141wru.16.1696504815109; Thu, 05 Oct 2023 04:20:15 -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 t25-20020a1c7719000000b004065daba6casm3539418wmi.46.2023.10.05.04.20.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Oct 2023 04:20:14 -0700 (PDT) Message-ID: Date: Thu, 5 Oct 2023 13:20:13 +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 6/6] thermal: int340x: Use thermal_zone_for_each_trip() 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> <3532950.iIbC2pHGDl@kreacher> From: Daniel Lezcano In-Reply-To: <3532950.iIbC2pHGDl@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/10/2023 15:26, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify int340x_thermal_update_trips() to use thermal_zone_for_each_trip() > for walking trips instead of using the trips[] table passed to the > thermal zone registration function. > > For this purpose, store active trip point indices in the priv fieids of > the corresponding thermal_trip structures. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki > --- > > v1 -> v2: Mo changes > > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog