Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp333442rdb; Thu, 5 Oct 2023 07:20:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNhFZaGVo6ffKXpAYTGnylJuFwNEt5mo6bWfhR4o7LV1HZQkOENoN/yCDXWox43eHtCmRk X-Received: by 2002:a05:6a21:7906:b0:14c:4deb:7120 with SMTP id bg6-20020a056a21790600b0014c4deb7120mr4588667pzc.62.1696515614158; Thu, 05 Oct 2023 07:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696515614; cv=none; d=google.com; s=arc-20160816; b=trWSw1Wj5NjZ4+uAQQ2NhtenZDuSJ4DH5GBGFdF5FnkpEa1yUhn7NnteqeRxn6zZfm oYNHaxs22jeDvxLlF3yyKWpw/Y7z5rd3T8NRISvvWRFuaa0nD5A8FO+N8dmAXkSPS/Og OWnRUz4lEvE2oMTW/WpIGv2Bts2BQhKQl47WXlT2bzrGrmjaZGJu8ZjTe17gXCyoiq3p c1TpWpzsQpGEaHGYsUb5YWoTU8yYd8KObTAL/VEoSqt4nH7xLf0yDSCcPzNrkHUPNDdy SCjA8VcTO02tJrZdmdUZG3sUB8nXl/2xwLyVByNNfKkD/hByk8VgrwuHSLmykYaxJrk5 Gn4A== 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=D4AE5jS4qjwXCMnOlOFtdJ9RttCSKbWymcLORudPBgc=; fh=LHF/wjE3sYhc3wO+PrH0m4vXyB8MaRqRPmrPMg/Fgb4=; b=NGg8DRxViUBdbTII4rgKkr5tzEOGQA+mt84iNoc1I1/Ayzrox3s06aCKXniYJf3oB5 f+CGdxgFX/yr9W7IsOowx7NmDgsKI6wgXmr/FH2A7N7SvLVtO20De9++bi6EXLRmDtNE REZeuI3jVH30PNcZuAx/aZuaCkQRq0dX3RW6bST1qezFu/ynzQLLRr6e9l76TnWOaPeX lMOvU/tCz4i6Jt88hJffBdj119OdJEMewM93u22XvrXRXA1rOV0IEmfyLNogcXWQ6LDq W6zGhhpYU52gkiM5VPX59vFOwodjkeybAuy0n4WXjWfkiIRIlLbPPzax/8DvCiMJ+vFZ nmyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vITy67iq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l63-20020a639142000000b0055b731aa9adsi1487812pge.562.2023.10.05.07.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:20:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vITy67iq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id EC282822D1EE; Thu, 5 Oct 2023 07:20:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233574AbjJEOTk (ORCPT + 99 others); Thu, 5 Oct 2023 10:19:40 -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-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 X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:20:13 -0700 (PDT) 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