Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp360102rdg; Thu, 12 Oct 2023 07:45:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/Ldd/l7rzQQQl/ukaeo2dXfaT0MeiqdAyMgkjOYxp3aj9bHGI+3NJ6zg7qDasO+CZ66+w X-Received: by 2002:a17:90b:78e:b0:276:78f2:5d31 with SMTP id l14-20020a17090b078e00b0027678f25d31mr33125079pjz.21.1697121903172; Thu, 12 Oct 2023 07:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697121903; cv=none; d=google.com; s=arc-20160816; b=f4zuyo5ABCTG5NhnnxTnhxMo+UPuD7OZBJ/N6juPe5/yu8PQkervGpNyAOd3c8cFf7 QtVcW04XxjBvxjNosULBXGcA+izziQXRg6D7absZ29+urdSVHPa7kRKqwTGTuLTkvWRe bGP52ah9+POMN+haPj+i6cIyVfV8s+G3P4l38FO+tT6qz38kH/4b9mbfMryTDQY2S8k3 f/uUzsLBBIxfR9W+WLSs3vmDZgnxXjRO5QWbhVe6rARhApoZOAgIa+7zQ1J/5HDhqeQk yhXelnrHTV5hGqssmjcTA2M6nPBRXERT1JTDUQuZDk+kZusfOazCvhDrXsKDP+2VOy/e 70ww== 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=o9asKau6xoapZEljIo4ZrEWtiWouf5mZpRdMQ3x02rc=; fh=lwSoWzxFgElz870zfiYjK9IUzI6DgmKcUjvGVkpbGwE=; b=hswDSmTaUXbrtWfTRFlLkDayoJ8A2zGwJJo7mLF/B1cuLT/31C4I86yKnD+zGVHyZT VvP3nOzKyUgnMgVoz3zour/AABKk22q+sYBiVeA3z1ddRcmJKlDi0gkyF1K/6VxlPfEu 5/oMfM/+V1KAVsPrRhS6D/I8f1HHtg3jrt3V/9WrbMgdaZ2Vnx5BzFCfjGC7K1JvYsIR 25ZgpwNyA9LdXfgbST9xkIzEuNSnkcfeioBxjjfUvl2ZhQEJzsn1JSUD4ONTw4yw6ACi 5n4DaJe846vHB14COqYxpehj1TQ7DJflI6vHzspa2La/6y94ZZ5ThbX5dklCBkX6OIG8 tCPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HIYB8TAi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id o11-20020a17090ad24b00b002741e78e66asi2397790pjw.153.2023.10.12.07.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 07:45:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HIYB8TAi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id A3EE58212C41; Thu, 12 Oct 2023 07:44:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377526AbjJLOop (ORCPT + 99 others); Thu, 12 Oct 2023 10:44:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344026AbjJLOon (ORCPT ); Thu, 12 Oct 2023 10:44:43 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0033D7 for ; Thu, 12 Oct 2023 07:44:40 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3247cefa13aso949169f8f.1 for ; Thu, 12 Oct 2023 07:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697121879; x=1697726679; 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=o9asKau6xoapZEljIo4ZrEWtiWouf5mZpRdMQ3x02rc=; b=HIYB8TAidmb+Hm+mDswrp1bJPsZ45MVDdm4bVNUcsPG6yvnahv8ZnMsUszUbQVzVIW x5pFAvVx+/5G3NMYzluFOUSZyp4AyZmv21Bm6vWiBXhaDV/tw9P/ItmUVe3NwjfmWqQm HOPvbSHSEn5oUx6TKXHGQuiuw6lf+eB6z0cxI/zq/bUH77bl0/WDs1jiB5fSU2dixScQ SAqccj5R0dSgSDEsVSlP57MK3kgyzzZAyY3RZXGjRg7FDHIl9tBgXD0CwxGUjeeMQ351 VOALxdjLV3zlJsJdlPdWEW/6V5/ggsjpQy1/S/0TXM4RYQOfNBY6EmOZ2lcSoa+Z1aYU vGdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697121879; x=1697726679; 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=o9asKau6xoapZEljIo4ZrEWtiWouf5mZpRdMQ3x02rc=; b=eZElfTe2w5u0fnGcOhNdsBCba0SgAOOQoBri5cwa4I/bdTL9V1/KkuLbhHlF65t7wf nDAMURpmnh32TvSHm4kkTFjd2/XuX8OTScOK/jDp5QRk3A6HiG/oeCXtJvXOFFgsgIiW HkD/8Ei38a9NSEJALgdFCm2yFzAtK2JJ5nqk+aatQdsnE7mBFP46TsWL1793M3zUEpQP +7eYqXDDyWUM1wc8Iezbxs7vE99InXEVV4pE2xbiQvFh0h39vRUpnTI5F6etyEAwRKgl EGPqHvlnq+DMKIdlum9FpRTqrLnA2Q4oOFEgyDexl2Xfn0mJkzmEFbN0nkFhE3j5Hh03 eVNg== X-Gm-Message-State: AOJu0YyY6XAOj2F4HqZvkXup10fOIfZwWLyHbyLqhV1aAnNoy0Q+J+u8 ovD4AO52OUtBB11FCuL/MjHaPQ== X-Received: by 2002:adf:f34a:0:b0:319:7428:9ca0 with SMTP id e10-20020adff34a000000b0031974289ca0mr19781987wrp.61.1697121879058; Thu, 12 Oct 2023 07:44:39 -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 v11-20020a5d6b0b000000b00324853fc8adsm18465025wrw.104.2023.10.12.07.44.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Oct 2023 07:44:38 -0700 (PDT) Message-ID: <54a6a7e4-3720-403d-823b-7f0efe0b4567@linaro.org> Date: Thu, 12 Oct 2023 16:44:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/6] thermal: trip: Define for_each_trip() macro Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Srinivas Pandruvada , Zhang Rui , Lukasz Luba References: <13365827.uLZWGnKmhe@kreacher> <8282829.T7Z3S40VBb@kreacher> From: Daniel Lezcano In-Reply-To: <8282829.T7Z3S40VBb@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Thu, 12 Oct 2023 07:44:58 -0700 (PDT) On 06/10/2023 19:41, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Define a new macro for_each_trip() to be used by the thermal core code > and thermal governors for walking trips in a given thermal zone. > > Modify for_each_thermal_trip() to use this macro instead of an open- > coded loop over trips. > > 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