Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp606463lqb; Wed, 17 Apr 2024 06:13:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjYeHnyQjOgi26kHIfI8XO6x5iffEiggcTaUJPbvsE15ZNeL2ueC+tDa/UNR4+UcDW4eerlziQPOLEa15eD/hINtHIx1OxB5aY3RkmoQ== X-Google-Smtp-Source: AGHT+IGXtbmvD803Pr7zioVwBgJjhZoTddTQNXPG2FLMz7Lb6P2qpiBRq40A68vaGGfaFDcIzpYf X-Received: by 2002:a05:6a21:19c:b0:1aa:6178:345 with SMTP id le28-20020a056a21019c00b001aa61780345mr4242484pzb.7.1713359618024; Wed, 17 Apr 2024 06:13:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713359618; cv=pass; d=google.com; s=arc-20160816; b=0mhslq6ZS5Z4IyznuKYb5RX6hsCNDdp2ovWmOOLVlzKK5LBN4/c6uOzCrQuUmfoAk0 oliFrkha0qEvC9p7YBXGobyIuO3xbx8P+DtQiHo5Zvdhq74sEFMNjU0TBX8pf9h/m540 5BBnLQcnUQ0EYYdMB1dm9wxcu+Nck7XzCLfILq4442SFn1wpsnqL2APlaNg3hnQFrIeM X0qB64erE3QS1kP47+zwQstbASHQZqH3jXPIplv7B5hPvEnrMhlAJS3HPOYDK4HiYpF5 W0PizzhyQ1Jchpr17Raj0Pu/S95uPbvdknxMWkAiXXW+jLGpW+Cvruq0o3amKLB8Iesj 6Zbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=pHiFo5JtpRwoN27976W8LRe1jWDHST6Yi0tVHzhw5OA=; fh=HP39+yda0QHsXMT3XaLy3KM419Yj59UqEZWQZo+gOsI=; b=JjPNVU24NjorrghH4Hj/gwx+B7QL408G4FL9uKvVkUQhGHpk1yH7YhFckj0SsPHB+V dEQt0rIHaAArMsI4IZvVkdGKJoN03Uo7YHFVabdRWBTxe1XWuOSfzjmtbziqypaVd0bW 5RlBohshNbwaExFd8fD8NL+Gd1embKOxjR7oVr5xx9QmHuVntSGaYNLr49kGTS4DoRO0 p1wfSm09WWx8b3MYvjq3yjiBvyw64YkRX1vUlCEy+GBLx7jkWro0utr8ySiGNw46zRFp qlrMhcQS7EP8+ox3n/LTZ2ROXHsjTmk+KhAaIfQD7ZVYQhebBHNyakgksIRvQiGYiJHI Tjow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=BzfDyKsj; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-148524-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148524-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m2-20020a654382000000b005e83f465a69si11308241pgp.210.2024.04.17.06.13.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 06:13:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148524-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; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=BzfDyKsj; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-148524-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148524-linux.lists.archive=gmail.com@vger.kernel.org" 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 7EFDF2854C2 for ; Wed, 17 Apr 2024 13:13:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 953B7140E34; Wed, 17 Apr 2024 13:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b="BzfDyKsj" Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4115E13E88C; Wed, 17 Apr 2024 13:12:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.96.170.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713359529; cv=none; b=vBh4p9GF5i6sBRWGdYwxy/+kqydQD67YIzjc/1+n8Nq1a+liQiKpn6SkbOlzI9cp7F5sXcChHAOPBIRE4CxFxrW9KHnlDLxjBaG2NgIbNWtId9aT2eeqiBVZ5SDODu/rtZ4d+XoIlht6VKVSWzswnqKx1bXhDFdPTOhtBJEbcu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713359529; c=relaxed/simple; bh=8QaLAPTDIhcj685tv/xgh0SXkZ17NauhUBDxY/86eRc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NbP63xax0vJVftnB+NGFVW3MN4mC4VI6sa4apwvfl3Qrk7yu2/YAi2rY3k/rkMKu+rCGpCkvBd7akVbPYW6Vr7xCdCqycZZEcoudSEJGgz1kFxH28h/ZeJqirZHyfYqkD8Tr9u9NbxKLXz25xdLJ2uiPG5f9VNYjmUQzeZkFqCM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net; spf=pass smtp.mailfrom=rjwysocki.net; dkim=fail (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b=BzfDyKsj reason="signature verification failed"; arc=none smtp.client-ip=79.96.170.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjwysocki.net 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 6.0.0) id 612d45fe4c8ba6e1; Wed, 17 Apr 2024 15:11:56 +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 7354166D262; Wed, 17 Apr 2024 15:11:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1713359516; bh=8QaLAPTDIhcj685tv/xgh0SXkZ17NauhUBDxY/86eRc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BzfDyKsjCxbokZNWvmHDcRVKiipl5iYe/YxFVFOyazEAxCnoFnamOZJ2Ye7J0KrGS To3OUtvLXqCHHFQQp7VY5EUeCOSvvGx89MlZ9Oc24jftL/2BDeQC2GsozYGaSLDU75 +133WOWcQSd+pPn6Qhd17UQ85AFekxyVdOtUC7vO9SemQTOlg0m7RkuE3CYlsS/s3G hDZEeuDhTpw0KoQh5ZdhUQcBg6Qac5hmxkgQ8tmRXfwWZ/+3PakMB+glvphc63eZs/ 71CrfC3GtPfu3+sJCE4mHEitvGiUG8gvXUyUZu1vbKeW13jwbszRAHQlJOaJ+5ieNs /RcA9WxPL40MA== From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , "Rafael J. Wysocki" , Lukasz Luba , Daniel Lezcano Subject: [PATCH v1 3/3] thermal/debugfs: Rename thermal_debug_update_temp() to thermal_debug_update_trip_stats() Date: Wed, 17 Apr 2024 15:11:50 +0200 Message-ID: <2937506.e9J7NaK4W3@kreacher> In-Reply-To: <4918025.31r3eYUQgx@kreacher> References: <4918025.31r3eYUQgx@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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: gggruggvucftvghtrhhoucdtuddrgedvledrudejkedgiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvdffueeitdfgvddtudegueejtdffteetgeefkeffvdeftddttdeuhfegfedvjefhnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohephedprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrrghfrggvlheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhukhgrshiirdhluhgsrgesrghrmhdrtghomhdprhgtphhtthhopegurghnihgvlhdrlhgviigt rghnoheslhhinhgrrhhordhorhhg X-DCC--Metrics: v370.home.net.pl 1024; Body=5 Fuz1=5 From: Rafael J. Wysocki Rename thermal_debug_update_temp() to thermal_debug_update_trip_stats() which is a better match for the purpose of the function. No functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/thermal/thermal_core.c | 2 +- drivers/thermal/thermal_debugfs.c | 2 +- drivers/thermal/thermal_debugfs.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) Index: linux-pm/drivers/thermal/thermal_core.c =================================================================== --- linux-pm.orig/drivers/thermal/thermal_core.c +++ linux-pm/drivers/thermal/thermal_core.c @@ -504,7 +504,7 @@ void __thermal_zone_device_update(struct if (governor->manage) governor->manage(tz); - thermal_debug_update_temp(tz); + thermal_debug_update_trip_stats(tz); monitor_thermal_zone(tz); } Index: linux-pm/drivers/thermal/thermal_debugfs.c =================================================================== --- linux-pm.orig/drivers/thermal/thermal_debugfs.c +++ linux-pm/drivers/thermal/thermal_debugfs.c @@ -676,7 +676,7 @@ out: mutex_unlock(&thermal_dbg->lock); } -void thermal_debug_update_temp(struct thermal_zone_device *tz) +void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) { struct thermal_debugfs *thermal_dbg = tz->debugfs; struct tz_debugfs *tz_dbg; Index: linux-pm/drivers/thermal/thermal_debugfs.h =================================================================== --- linux-pm.orig/drivers/thermal/thermal_debugfs.h +++ linux-pm/drivers/thermal/thermal_debugfs.h @@ -11,7 +11,7 @@ void thermal_debug_tz_trip_up(struct the const struct thermal_trip *trip); void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, const struct thermal_trip *trip); -void thermal_debug_update_temp(struct thermal_zone_device *tz); +void thermal_debug_update_trip_stats(struct thermal_zone_device *tz); #else static inline void thermal_debug_init(void) {} static inline void thermal_debug_cdev_add(struct thermal_cooling_device *cdev) {} @@ -24,5 +24,5 @@ static inline void thermal_debug_tz_trip const struct thermal_trip *trip) {}; static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, const struct thermal_trip *trip) {} -static inline void thermal_debug_update_temp(struct thermal_zone_device *tz) {} +static inline void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) {} #endif /* CONFIG_THERMAL_DEBUGFS */