Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5219055rdb; Wed, 13 Dec 2023 02:24:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSkHZzJJAKHIOKS8z6sH+VCgbjksS07w+0Id5XTUuxcF7RJRFoWh1Z/46mkrC0dO2ftb3a X-Received: by 2002:a05:6808:2e95:b0:3ba:587:b349 with SMTP id gt21-20020a0568082e9500b003ba0587b349mr7619615oib.111.1702463075102; Wed, 13 Dec 2023 02:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702463075; cv=none; d=google.com; s=arc-20160816; b=kcjJjgleWYT8zqbr1tNrrtavzpK10yMx6hyRcTcMN2cJVGT9qJowi8j3qbd87h7gnt afH55YV7D8Q39GU7NArManlcYBDZqgbP8OxIETdfjtjPPu/gcDTCL6Q1zcUCwRgMU8Gv t4JNrh/JeGdJo3vmMnZrB/SjdVsoBIuNqSwO++/krhqdNNM/czOltlFpvhEopMfIkFiM +Joc/5GtW8DkzKiDIzzkteQhm+DSKthPsAzl+oxRdikctKrlHCny0Efhg24I25a6tTTY 92/MzogLCQCZVt6mZjTjOFLfntVOJV88hjlDqIE1OqzY+Z73j8JgQXANuRq9/4p6UNH/ fPbQ== 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=sdrs03dZMZiQjD0oDQJ6lCq5E+UmKxE9fUWhvfdFRB0=; fh=WD3PUBwbKW+eURwNczkCMPvWicegbE0hVFODSxn7LTw=; b=TaFV8D/bSl3yikKrq0PDyum0BfYFY63RRVpiGw9Tx517x+lCiUW8bn3lMQAfGeUUVh vtOZXKs7Qo2eC0I0J84hqdQ1cuG77FgzqD8/E5VzSFpWwXh+qBjHcNiWGlo/cLJWKd3m ASlm1aXgo23Vbu5zhSTN3ewW2Q18v1S218nmpqx0qv91y+RuoYthq42uFgIMSNr2f+Sq Jj5K2nF4ImhynlmW8QwKjPssHku6W3595CRp9esbZaLiq4XLdOV0Asz6hibXotmZHfJS JZcZEtrVmTdQuXb8rdkndpV6lnrWqt1wDUXXppUr6/s2eFrhCukLOoMO3n0wt2d+Kiq/ es/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Voitf75r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k25-20020a6568d9000000b005c65f10c216si9241145pgt.287.2023.12.13.02.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 02:24:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Voitf75r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 73CDE80BB515; Wed, 13 Dec 2023 02:24:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235324AbjLMKYS (ORCPT + 99 others); Wed, 13 Dec 2023 05:24:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235202AbjLMKYR (ORCPT ); Wed, 13 Dec 2023 05:24:17 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BEAD0 for ; Wed, 13 Dec 2023 02:24:23 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40c3984f0cdso52689395e9.1 for ; Wed, 13 Dec 2023 02:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702463061; x=1703067861; 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=sdrs03dZMZiQjD0oDQJ6lCq5E+UmKxE9fUWhvfdFRB0=; b=Voitf75rAfwH4wQjCm+dU8nY0YYtgZAAqqPR6+RkOCfXRI5/QPzwPkeOYQFD1nIz66 wjfEiTmXd2ZtiHPqYLl/XlFPDP4jYublBjmEDMf7stg/wXSwgvOeIwqipl1H9ELBO5Qv sKx7M6rY9hxKct1i0GHGFYz4yGLHvHuJF0ANAiN19KpgsDw88oFHbr8Bd+FPNlNYvE34 vJ8dU+l9t4q5F8zsignRSOPQIJS8CyStrNOszV3AQGDYC6GgzgUOmF73O8d1Vzi0bsd/ cIFepa1jghrKKYffbAjBWzQUth1Ft6+Gp3Vq1q5kWpN9GW1vrZE1q32JJfztGcPu1uvc DFYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702463061; x=1703067861; 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=sdrs03dZMZiQjD0oDQJ6lCq5E+UmKxE9fUWhvfdFRB0=; b=hkMJEIaCvpSAkgsFZBQXRFgomfIQBJeF7aOp0MftRtdLIrCiiIna/wqiPe9w2hwhQT FXwaJ6XWZd8abqn0ytwuYUJJQrTfksnXTje+4Zzv0ZY5Ok4nDoQGBfsYEyRhaFhCjiCg 899kzztlAKW6L7Rwkc24x5TKsv2MdtCU7Yi9vk6szydCpEbCpr/OnYXJPz2Bx10eWryS SgkWHkVFos4PHw6PwguE70XZNpb/8MLZkhHimqmzq1jG6kaBPq8gt9zGwnoFOCfH7uF0 bqlT4gtR/e47SALDPGJUy5ciexanog6EWX3zx38D8rZPnumVM1BESZb4UzCR8s/QBztr JL7Q== X-Gm-Message-State: AOJu0YzRFVvo1OGh0nITh/VxEOUYtz6H9RBTtw4uGQfEXbHy8eSlCsMc YaFCJT1EbDwDhzK+TsExBNTbvA== X-Received: by 2002:a05:600c:4711:b0:40b:5e21:dd36 with SMTP id v17-20020a05600c471100b0040b5e21dd36mr3800419wmo.100.1702463061580; Wed, 13 Dec 2023 02:24:21 -0800 (PST) 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 w7-20020a05600c474700b0040c41846919sm13705500wmo.41.2023.12.13.02.24.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 02:24:21 -0800 (PST) Message-ID: <5b76f719-2e19-4e73-8635-081974bf0c01@linaro.org> Date: Wed, 13 Dec 2023 11:24:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/3] thermal: helpers: Use for_each_trip() in __thermal_zone_get_temp() Content-Language: en-US To: "Rafael J. Wysocki" , Lukasz Luba Cc: Linux PM , LKML , Srinivas Pandruvada , Zhang Rui References: <5733564.DvuYhMxLoT@kreacher> <1871840.tdWV9SEqCh@kreacher> From: Daniel Lezcano In-Reply-To: <1871840.tdWV9SEqCh@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Wed, 13 Dec 2023 02:24:32 -0800 (PST) On 04/12/2023 20:46, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make __thermal_zone_get_temp() use for_each_trip() instead of an open- > coded loop over trip indices. > > 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