Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp341493lqp; Thu, 4 Apr 2024 15:13:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+DvegoHIabfzbst2WeRTr1zxyB+zLqHjbVKU+wEmYfpTP1oB7XTzXAcRP7BY37NjdL7p9daPWtreGCCUHTx/QA5+w6QTmOuDM7veUcg== X-Google-Smtp-Source: AGHT+IGoixS8yeZyvZjB8xhWcXQ8azckOdVFHwh5MvfqQ+KU8kKZM6OTZA3QYfKYWG4y3EvT5Ay+ X-Received: by 2002:a05:6a20:6a0b:b0:1a3:c883:69fe with SMTP id p11-20020a056a206a0b00b001a3c88369femr4494656pzk.3.1712268795940; Thu, 04 Apr 2024 15:13:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712268795; cv=pass; d=google.com; s=arc-20160816; b=RdLvz37YMTabMJN5OLjjOCle5DEe2sC6D8SyTEV2StctVO+7Ioy8zFQouanA5ecDw2 02P2DwUPJMhqOCXOkFJXtZudj3JnLRA7JROWpVWVOwlaSnQPEr7OTI+IIp/L/JVS2m87 gxdLoAL6ork8HMKjoN/BhelMqDO1e0jAc2nNQhcU/HVAZu6Ug20FB8bDyK6iRMZEzIB4 DBTYX64BRMaNpW9P6sPVN316wxWeCmNBo1Qn9XTKJympE/y1IfAXK7sXhJYhcVjKsRWZ 2MtSnqyBskZu2z3lllITDkH9EBVkuYzxR7gPtdXmpR1qphVGf3U+aIvjefyYKngLGHK2 2oYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=ruXmltgP866DQtKmn1pth8C1y79KQzyWW6a+0Gg4cGs=; fh=OnjlES3ltT1rfj1xqWlPH5gHLUiiHEk+YdAUQDlLl9M=; b=G8v6uT2ZEsLlQ97jU16INjbyuGbeeGxSnxN49Nmq+KG9PWyJr+yvcjzraNAOJ5Dyh/ s7IMaZC4R1qPvzQEHlddjlcFeMwXe+lMiHHKxv5eRl0RO7KDmgvGcg07CwkFf5r6gA8f iP7LgPTsdUcbNServa7scyuoYBTP/l13snIpgLv5upWIz5JZrW/DAtdZQRpZY6/zttoL 4v9PggspeGpE38Zdbwf7DrifWLGOgg7gVa0YKpDon88w/IOcrBctKKQ5gHhIrsCmf5Ag dochc+J9xIH3p7qhYxt7KZFOO9IgWSzfR1rh7lw2XT47XMYGFkIM0ua9SV200qESlf6s Kf9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-132185-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i2-20020a63e902000000b005dc47dd5dccsi208231pgh.893.2024.04.04.15.13.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 15:13:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132185-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-132185-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9890728540D for ; Thu, 4 Apr 2024 22:13:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8C8213C3E6; Thu, 4 Apr 2024 22:13:08 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E873082D90; Thu, 4 Apr 2024 22:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712268788; cv=none; b=KZfOojUAINESTf3XDQsvSlmKwIHcgygRNK7lkS4Rq7OirbZvuSUaEayYaMm5FPHT16c0nbDdZVHtI0kgwvMgoj3Fbmax+My6+sanSYjIKGgztpqVu5mPb9vP2d7tqmC+oGcc67+gwpDHm0TmZPfUYC138rWBz1eVBI5Dhg8/S9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712268788; c=relaxed/simple; bh=nH2p+7zXAeIipU/pA+wrG340BFQBleZqxM1Zv86nB30=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NviaMuyiwGENf8DLHd/gd67E/wuzk+7L4vFlZElPpUfr+6iEhL7DHH6j+3it+KouC9vBXoD1kdC+6ejqyLKYuxBT1zzxuh6nzwQTE4NQsbeY+QtfNcoC8OIAuGNDToC6d7yvLIGmGuajtfD+aJ2Gagtugvi7Qbyh4D8NjhFxE64= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0345DFEC; Thu, 4 Apr 2024 15:13:36 -0700 (PDT) Received: from [10.57.73.43] (unknown [10.57.73.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4B3043F64C; Thu, 4 Apr 2024 15:13:04 -0700 (PDT) Message-ID: <5f3a7cb9-d2a0-4713-be3a-2187a40ec82d@arm.com> Date: Thu, 4 Apr 2024 23:13:05 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/6] thermal: core: Make struct thermal_zone_device definition internal Content-Language: en-US To: "Rafael J. Wysocki" Cc: LKML , Linux PM , Srinivas Pandruvada , Daniel Lezcano , AngeloGioacchino Del Regno References: <4558251.LvFx2qVVIh@kreacher> <13485814.uLZWGnKmhe@kreacher> From: Lukasz Luba In-Reply-To: <13485814.uLZWGnKmhe@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/2/24 19:57, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move the definitions of struct thermal_trip_desc and struct > thermal_zone_device to an internal header file in the thermal core, > as they don't need to be accessible to any code other than the thermal > core and so they don't need to be present in a global header. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki > --- > > v2 -> v3: Minor changelog update > > v1 -> v2: No changes > > --- > drivers/thermal/thermal_core.h | 85 +++++++++++++++++++++++++++++++++++++++ > drivers/thermal/thermal_trace.h | 2 > include/linux/thermal.h | 87 ---------------------------------------- > 3 files changed, 89 insertions(+), 85 deletions(-) > Reviewed-by: Lukasz Luba