Message ID | 2721589.mvXUDI8C0e@kreacher |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1963844vqb; Fri, 13 Oct 2023 08:14:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkt/RNqL+HuGe652N/HFhwjEh84jkCbbpe+1h7f7V0MzZuAtXCYHEDOWc1Q44LP15qMJ09 X-Received: by 2002:a05:6a00:1da7:b0:6b5:523e:9e9 with SMTP id z39-20020a056a001da700b006b5523e09e9mr1162879pfw.3.1697210077170; Fri, 13 Oct 2023 08:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697210077; cv=none; d=google.com; s=arc-20160816; b=KJpbwOIGHiLEcL6VdLQPz4bDC1hlUOfRPqgQ9nlryvltIBPFGsJEqJMzWm5ZH/cPTo twkJVLY1sXtmRe7Zqm9+O9+u3Q3pBz9uCIQ/I5cejgQRaMNLfWgHm6xs+M1rSdchXUDh IKD/2Bb1XwDG3qHNe7RS4YDjma7ri8TR7XxZBv1IgvCOqa8YUhv9dhA0ffhVQhLaILrg a5Ysg5rP+Bedvxhtj9fm+UvquMqgW9XXE/AqQGmX4NQrbkZPzuPQ6yTHeXf0cptNe6GU tJqMKeueQInWqW5ac4Kxv/Fj6SinbdOcrJMOjAw68rhWxVkL5fQ4kygMMAex7yKx4YhI xKRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AgkK1XiCcXuvzftwpG+R/EXarf3jsDoR9CktNqLq0KE=; fh=PmZ2i9GpxdjIANTiVRMG4oegJQ3iD/rv/toYRgYDoyE=; b=ce3S+MmKCGz0Cz+EKqfokuiteHtmuSjnGGVfCeFjqwJASrXXDedt9hucX7KK9ynLxc Pb1S98GBlbDKnlL0fyYwiosXBd2Tld175ykxN4IHkRPPxC/LyIfu+2rNMX78WTBjyGLM eckf61XsbQ9pZlaxi41YX8Gm1U8EVy7R5JMIHIIHAp517RCPsdNT0qpkj98GhFGnToNz VI/SBueZ/zqh+/fvpiPMjZv/lrSrILZ4T/5HrhXe/Cr7VJ7h4yhO27YM2jlauqiPyYJP cUeEiRrbr3wJi023B9pIz1oWpEWdEiEdMvzWyNJy1bx+AirGFEmKNtdFMZLE1bP+1tD+ uXXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e13-20020a056a001a8d00b006934a431c55si17231173pfv.163.2023.10.13.08.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 08:14:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 07C9381DEECC; Fri, 13 Oct 2023 08:14:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232321AbjJMPOM convert rfc822-to-8bit (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Fri, 13 Oct 2023 11:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232226AbjJMPOL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Oct 2023 11:14:11 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E561095; Fri, 13 Oct 2023 08:14:08 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id 69d6a58959bc7936; Fri, 13 Oct 2023 17:14:06 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cloudserver094114.home.pl (Postfix) with ESMTPSA id ED942666952; Fri, 13 Oct 2023 17:14:05 +0200 (CEST) From: "Rafael J. Wysocki" <rjw@rjwysocki.net> To: Linux PM <linux-pm@vger.kernel.org> Cc: LKML <linux-kernel@vger.kernel.org>, Linux ACPI <linux-acpi@vger.kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>, Zhang Rui <rui.zhang@intel.com>, Lukasz Luba <lukasz.luba@arm.com> Subject: [PATCH v1] thermal: ACPI: Include the right header file Date: Fri, 13 Oct 2023 17:14:05 +0200 Message-ID: <2721589.mvXUDI8C0e@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrieefgdeifecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthhqredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeetueduleelheeutdeigeetvefhuddvhffhveeigefhkeegudfgkefhuddutdetffenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeejpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggrnhhivghlrdhlvgiitggrnhhosehlihhnrghrohdrohhrghdprhgtphhtthho pehsrhhinhhivhgrshdrphgrnhgurhhuvhgruggrsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtghpthhtoheprhhuihdriihhrghnghesihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=7 Fuz1=7 Fuz2=7 X-Spam-Status: No, score=-0.8 required=5.0 tests=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 agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 13 Oct 2023 08:14:35 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779653753830786345 X-GMAIL-MSGID: 1779653753830786345 |
Series |
[v1] thermal: ACPI: Include the right header file
|
|
Commit Message
Rafael J. Wysocki
Oct. 13, 2023, 3:14 p.m. UTC
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> It is not necessary to include thermal_core.h into thermal_acpi.c, because none of the code in there depends on anything in the former, except for the linux/thermal.h, but it is better to include that one directly instead of including the entire thermal_core.h, so make that change. No functional impact. Fixes: 7a0e39748861 ("thermal: ACPI: Add ACPI trip point routines") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> --- drivers/thermal/thermal_acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Comments
On 13/10/2023 17:14, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > It is not necessary to include thermal_core.h into thermal_acpi.c, > because none of the code in there depends on anything in the former, > except for the linux/thermal.h, but it is better to include that one > directly instead of including the entire thermal_core.h, so make that > change. > > No functional impact. > > Fixes: 7a0e39748861 ("thermal: ACPI: Add ACPI trip point routines") > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Index: linux-pm/drivers/thermal/thermal_acpi.c =================================================================== --- linux-pm.orig/drivers/thermal/thermal_acpi.c +++ linux-pm/drivers/thermal/thermal_acpi.c @@ -8,8 +8,7 @@ */ #include <linux/acpi.h> #include <linux/units.h> - -#include "thermal_core.h" +#include <linux/thermal.h> /* * Minimum temperature for full military grade is 218°K (-55°C) and