Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp534218lqo; Fri, 10 May 2024 07:21:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtI/D9McW7BVNOZOR6eYP6TWT8hlahKTEw0qmrgTxzUYOzoDgPd3mrkk3Hw4oQO0Xl2CFkSg/G11zkI2ELhP7gt4V1WTkNQY9NaU4crg== X-Google-Smtp-Source: AGHT+IHD/aDDmG/TQQonhAF4Rt5bMQiXWf/+xTgwshPy8vpqLr0N5IxgcGea0DClTvCQyyDMg3G0 X-Received: by 2002:ac2:5479:0:b0:51f:4144:98fb with SMTP id 2adb3069b0e04-5221027bcd2mr1753373e87.67.1715350894949; Fri, 10 May 2024 07:21:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715350894; cv=pass; d=google.com; s=arc-20160816; b=FopULhBHxUdtLZ4ZoD9vKAyk9Gshl7SdtCjPmDfOInuBPksef9rVjRTYnoWeLdZIBl bsafzL23Q/GgvcVx9DffrD62iSiNmcEGeA26b2+O4Evlu09KxvJ+tzT59TAu5/HJ+Ezx JoKbI/+kSpizlqRi9fde+c/LXC2nPbL1a/AiqrQQ9dIUDb7RNKIHeb6WniV7QDyzjWC1 fOdJghwGo7Si7FVR0QAzZtVmVpPEqUR5SsEXBlsFJTpCr2ei4qs8vn6jy6MCAlYDNIlD z1NSqx/jvzUl6c1sOh9dDR88uXFQtsFP/jrinObZ7OLmdjnr7j2xBrE85zTWe2uOblXd azFA== 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=mBILEr5VNE2STB0TkyN9N01t18Px4EZpOCRFEguIwNY=; fh=GzCkp9dboMjnsRASvUnR8RkBPyyMxU6lLzxcgnbmqi0=; b=hEUdJb6q9qXHBSJjcW+kNKBh2y0IQj0c4bal2knB61jqsGWoWFK8kDGu3/SHpPv0rT 4CmI63P+KI3KKdnTTIat5wkaVjSXYP4ojjasL8SQucjGPBW5HIwIE7k7/wWzA/c/p5nh 83HKexvwbC+p2lZt0WdQfGElHsQqcnf9wQ54pbQAgs729xtUJvXM0iGB4QCkhA2EGA1K aHHhNa4cfP/dlB9jjk2L4nxG9qkzzk/HVsotRJ2qFDgwTbFGcaTTmu9qOFbALtKCP9D/ sQB+4kBRK3FNXOs3gslW+N+Qcobc4eUwJEX8yRQFwuAZVNLPpt3oMXfkQdGsUOifkvgr CcKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=PZzzd1cS; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-175887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175887-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c3626aasi2036149a12.482.2024.05.10.07.21.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 07:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=PZzzd1cS; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-175887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175887-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A7B781F21DE7 for ; Fri, 10 May 2024 14:21:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5D27171655; Fri, 10 May 2024 14:20:46 +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="PZzzd1cS" 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 CC63416F0DE; Fri, 10 May 2024 14:20:43 +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=1715350845; cv=none; b=QThHGwAA2AVvEx3uN1B7lL7SGbW7Wr+DxBeAmA6L+E3vbhjD6n19PoEvcAMVO/dbFj1aoInk9c8bWqhzxv1/EQNz0eLbt13FH4yGR1YV31WcqhN5Wx6j8hYYIGsC7T/o0GPXJH9sG0WmkkhWppyZTXHfnZoESJj4I/N5ORiAseA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715350845; c=relaxed/simple; bh=jH+y4+aBFMO+/Ot7DMk+ZxkiCguefE8lTUs8l4qSb5A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Rh6/Hrp3IxivTb00NQljPjcBmnRg/choW38zi/4jrhOC000hd2AYcbmAsxcf3vEzlBuU9mh25UOIF+YPWPOsLAVX2EzKTWHOmRMlS17F4htYNxZgO8zaLLqpIKuJI5Y/J1DC7MhyN7iY/yCnDHJk0+IhGOJIGT1cK82JXSlkWn4= 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=PZzzd1cS 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 6c8e053778ea6915; Fri, 10 May 2024 16:20:41 +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 51C342102F3F; Fri, 10 May 2024 16:20:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1715350841; bh=jH+y4+aBFMO+/Ot7DMk+ZxkiCguefE8lTUs8l4qSb5A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PZzzd1cSkjK7vAWxFXQ2RU+QTwy0ppzLjryBkB6dv3ILFciFbm42UNAMsxBSXhemJ SFaf+iGGyqySuI+1uP8rLmsjSjZQGWuneMDz/iy7Gwvc6m/+DaNZ18wcPgzTG4eNBE eEMz5FLFr7gw1RFScrk3au8LE2dKkq1mtd5qIpkMJrJrM5vYnAGFxPNDuu7XVfmCp2 mgTCYNQl0RWL9P3Dw8aYNazmKLAfC0NTmNZbxqaXMKZOFSbTf5ZxuumM4kp/4fEpQN 6dJcVIHOEBh+VmA4d90MHFLa0M50GSpKPpvGAJ0TVI9FsmWppd1gk+b0N2ZH2V5I47 BNRJzTnXF4/JA== From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , "Rafael J. Wysocki" , Lukasz Luba , Daniel Lezcano , Srinivas Pandruvada , Zhang Rui Subject: [PATCH v1 2/6] thermal: trip: Rename __thermal_zone_set_trips() to thermal_zone_set_trips() Date: Fri, 10 May 2024 16:14:36 +0200 Message-ID: <10471147.nUPlyArG6x@kreacher> In-Reply-To: <13518388.uLZWGnKmhe@kreacher> References: <13518388.uLZWGnKmhe@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: gggruggvucftvghtrhhoucdtuddrgedvledrvdefkedgjeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvdffueeitdfgvddtudegueejtdffteetgeefkeffvdeftddttdeuhfegfedvjefhnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepjedprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrrghfrggvlheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhukhgrshiirdhluhgsrgesrghrmhdrtghomhdprhgtphhtthhopegurghnihgvlhdrlhgviigt rghnoheslhhinhgrrhhordhorhhgpdhrtghpthhtohepshhrihhnihhvrghsrdhprghnughruhhvrggurgeslhhinhhugidrihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=7 Fuz1=7 Fuz2=7 From: Rafael J. Wysocki Drop the pointless double underline prefix from the function name as per the subject. Signed-off-by: Rafael J. Wysocki --- drivers/thermal/thermal_core.c | 2 +- drivers/thermal/thermal_core.h | 2 +- drivers/thermal/thermal_trip.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Index: linux-pm/drivers/thermal/thermal_core.c =================================================================== --- linux-pm.orig/drivers/thermal/thermal_core.c +++ linux-pm/drivers/thermal/thermal_core.c @@ -498,7 +498,7 @@ void __thermal_zone_device_update(struct if (tz->temperature == THERMAL_TEMP_INVALID) return; - __thermal_zone_set_trips(tz); + thermal_zone_set_trips(tz); tz->notify_event = event; Index: linux-pm/drivers/thermal/thermal_core.h =================================================================== --- linux-pm.orig/drivers/thermal/thermal_core.h +++ linux-pm/drivers/thermal/thermal_core.h @@ -242,7 +242,7 @@ void thermal_governor_update_tz(struct t const char *thermal_trip_type_name(enum thermal_trip_type trip_type); -void __thermal_zone_set_trips(struct thermal_zone_device *tz); +void thermal_zone_set_trips(struct thermal_zone_device *tz); int thermal_zone_trip_id(const struct thermal_zone_device *tz, const struct thermal_trip *trip); void thermal_zone_trip_updated(struct thermal_zone_device *tz, Index: linux-pm/drivers/thermal/thermal_trip.c =================================================================== --- linux-pm.orig/drivers/thermal/thermal_trip.c +++ linux-pm/drivers/thermal/thermal_trip.c @@ -76,7 +76,7 @@ EXPORT_SYMBOL_GPL(thermal_zone_get_num_t * * It does not return a value */ -void __thermal_zone_set_trips(struct thermal_zone_device *tz) +void thermal_zone_set_trips(struct thermal_zone_device *tz) { const struct thermal_trip_desc *td; int low = -INT_MAX, high = INT_MAX;