Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5219543rdb; Wed, 13 Dec 2023 02:25:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEJNHOo8FXz3xxYiCrWOisAEnUJwI5FzoGOTHi9eiMBvROp4QFT3euOeffniX1F+gL8SZO X-Received: by 2002:a05:6359:6a6:b0:170:406d:42e7 with SMTP id ei38-20020a05635906a600b00170406d42e7mr8036094rwb.39.1702463158650; Wed, 13 Dec 2023 02:25:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702463158; cv=none; d=google.com; s=arc-20160816; b=g1+iKx9uMpfI3G/ANt+JrhKIoFjZjo8D3B+sNld122TzveXCK0R/LQmwHjL/rFNFvc xSOfuqdCe3mFqKJopTuC9VuP7vdJd5em9ah+2hD7jiwgg2yQdE9F1lFiY1NaCCUGbeRE 7p0SsPFU5ZqlIaOGP9tuHXFb+f3Yxz7NvyWg9wdcrt7ZW3f19a2/4kedneQFzEnJ1I8c ZhrI1TwDDbNHGjLZijgQjGtNwXeYDNjuUOMZLUaX+xpB9giPxM9aLvbW8sOuxsiaVWj5 fFwT0fzCEmj3uMsJYacb01F1Eij5hzftgKfR5JxhWk9L7YToBaFhUxb1tkWahLP5pvng Dq/g== 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=vQqqojXk0aiAP1brw8pMue6niPDLmrRewlYFgt6/ims=; fh=WD3PUBwbKW+eURwNczkCMPvWicegbE0hVFODSxn7LTw=; b=T25ns/ONv2kJZsHdBvpIBwdu7V/UUjVjG3VBGmLDh6QQCJdh7tMV/f7aSksn9Q884w q0QB5XvT0vc5hNSwdD8Bbg6TrNUNG4jldQrbTWBitb0Nc0fbEj834Lel9DLocPZEC20/ xaWk/5uEAKSU4IANB8ij7isTLJbGUwe/vbAGJxkSDWBdBZ/VULv5p1Wv3xmWr/iS5UYc E5WUJtLANxYwaZNC5SswxrKjc+dhkF+woh+nat5yo2eajQQVyKsHi6QVKKm47YcTk8u3 qsQdPx2wpRSbTgOtOOdpMTvSTK7KxmI2UMMVf2yBcsL/RAyq8Zh7NSpxPtxlYyauviAQ I48A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eEP5dEaB; 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 q97-20020a17090a17ea00b0028515d4c7f9si9372629pja.45.2023.12.13.02.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 02:25:58 -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=eEP5dEaB; 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 0456280BB516; Wed, 13 Dec 2023 02:25:21 -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 S235299AbjLMKZG (ORCPT + 99 others); Wed, 13 Dec 2023 05:25:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235355AbjLMKZD (ORCPT ); Wed, 13 Dec 2023 05:25:03 -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 605CB11A for ; Wed, 13 Dec 2023 02:25:02 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40c3ceded81so40607845e9.1 for ; Wed, 13 Dec 2023 02:25:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702463101; x=1703067901; 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=vQqqojXk0aiAP1brw8pMue6niPDLmrRewlYFgt6/ims=; b=eEP5dEaBOMN2t1V4TGiy6aVU0QBoe4XbEVcCLvwsnjVAAyWGN2mraUrat8mA7hrp5e VE2AmKgmP9K3agSLqVxTAyCB+QYfRYZ1zXLX33BpJJbJSiGgx5/qLRIjoMDCQMaW8SvS idlRbpgAtVOWhHgIyud001jw7ILz9ioEraOyQq8DYnhbM6zbUJJqvsfZgh2YyRZkW8bq XIvDKRUuXqR/+x7VwJrMsJIQJVQJgGLAc0DLk55HF6zca9xm3PnZE9UVDBZe9hXIT1+1 s5k/k3FVWWWkEFnFSk/eF6IitkKKm/OJh5BaNnNWLtTdBrKBOxUGhoW7ykFl3lpestzC ldKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702463101; x=1703067901; 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=vQqqojXk0aiAP1brw8pMue6niPDLmrRewlYFgt6/ims=; b=Kaj5cHVCIrJskoLFAvtBAdf2Af7MR5CO8F/kD4WuXZakqy3a5QNTnchKKw8xsDNs0C 7psLays77qD9fIYryRUK9U53NCW+DKuA7slb7pdjkLj1hK0gjDmbr5TEui0PrL8+qeog hv02uCl195PQlxMjQbu7qreig6emtiYRCGqiGRipylshXO5a1MCjK02bgdpc7eeXG03E JwhVpDSs9OlKqsu9bXVO5PsSYqYHrcFitTgaK9naqEtGDh8xED/q49ZijEFHBAKkHdwm 4yCyQ3Iv4/lINXwPxzJ5G8Szuu3yJiXkaDgh3Ud5/6BIdwdXlU/dmZoEioKIewtpLCIE TN6w== X-Gm-Message-State: AOJu0YyDwcl7KpHK7ZeI8gTdFLo9SdhwyYCWMOfKQ28IlTbBpAZ0JfzM 5b45JeVtosvGiLzxGTZZckg8qw== X-Received: by 2002:a05:600c:2296:b0:40c:2b13:95ee with SMTP id 22-20020a05600c229600b0040c2b1395eemr3692466wmf.38.1702463100644; Wed, 13 Dec 2023 02:25:00 -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.25.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 02:25:00 -0800 (PST) Message-ID: <3312c21e-72a3-43ef-99a5-2f429ed21083@linaro.org> Date: Wed, 13 Dec 2023 11:25:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 3/3] thermal: netlink: Use for_each_trip() in thermal_genl_cmd_tz_get_trip() Content-Language: en-US To: "Rafael J. Wysocki" , Lukasz Luba Cc: Linux PM , LKML , Srinivas Pandruvada , Zhang Rui References: <5733564.DvuYhMxLoT@kreacher> <2912793.e9J7NaK4W3@kreacher> From: Daniel Lezcano In-Reply-To: <2912793.e9J7NaK4W3@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:25:21 -0800 (PST) On 04/12/2023 20:49, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make thermal_genl_cmd_tz_get_trip() 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