Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp104041lqb; Tue, 28 May 2024 09:59:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUs5g9xCdIOmQ0Mr9xqVrQnaEwrIzIp4eQviexhLwBRfhdpCphh6I1/wppOfVXmgUbnkJPFQdcEM0TXQLooM/zckClLsCf+imQmxyfB4g== X-Google-Smtp-Source: AGHT+IH/JizEhMuruK2ZTHO5aKC7A1GnYPXmEgjctmvTXiuBmpBLfD9AOA34A3DgLwCRFQiKEprv X-Received: by 2002:a17:90b:1190:b0:2bd:8aca:f1e0 with SMTP id 98e67ed59e1d1-2bf5ee1586amr10199854a91.19.1716915577027; Tue, 28 May 2024 09:59:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716915577; cv=pass; d=google.com; s=arc-20160816; b=ph071PTHVW3WuZkCJVTTQmH4emk7TNGFMS8U35Dez6aGFjxW9YiU4xKZNYjd5Jd6qq zS/o2GQNAaJVc9IbpufaWPt7CiGLmSLYY8sm4s9iFhz+bL81zUs8T0tXkJ9TAPB9uqWC C5IEBE7wpjY6KDu7361FyMTaQGlcEfj/6jVx9Imp8u/Ua8pbTWHydRIFlgHZ3AZZnXwY xK1GUaAK5xgqrMUxDMa+wcXezLCI86qt0bkc7Rt9ioyWo+Pq5ajTCqyQBRAMlgv5Sehq ycCvbJe5FrMYVF/AMsGeYMPnMTIzg2FbyS+E8UqDdHRsdNpxdWozXHPURRpdicEvZ8vY 5LIA== 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=Bx0yjMBPyqyr0TX7XE5g8xEINqqGIL6Yh0XkURGPCSI=; fh=GzCkp9dboMjnsRASvUnR8RkBPyyMxU6lLzxcgnbmqi0=; b=ALLk8SCDKKPsxok4Yy+ycsdI1UGHOrbCVVc4bMM+dFjK4yr7bj4Uuu1XcAKENZTub1 k0L25eCtSnWZ60SkuU85a34NBX++wIL36BL2Dw9OxCU9ywWxwGlcXVqqNNOdbYqxekAm Fa9fnNt/rR7DbW3z4DDPSpV/4ltBUIrXHD1c2kDxr9f4OnCVpTGS1bc8P73B0xqqHV+c E2uKQyBdWjhYzutH7ZT3JiKVG/lxci8c8bJjnZmm9EsPy8U4ytHu0ORKTqdB1X50MQvq ZsJYiLZu6jlSPvfnZV8j7avk8s2qFAkxgafar92w1utSL2Eo6RtMhKaO2L8CROkal721 871Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=P2ezMosy; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-192783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192783-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fac5965si8403668a91.7.2024.05.28.09.59.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 09:59:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=P2ezMosy; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-192783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192783-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CF556B24FD9 for ; Tue, 28 May 2024 16:55:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B560176FBB; Tue, 28 May 2024 16:54:28 +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="P2ezMosy" 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 B5B8D173344; Tue, 28 May 2024 16:54:25 +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=1716915267; cv=none; b=iswEScv96MtHuPDWC15vgmrVA1hW4ngQStpnz2qo32LG8EhUu2nk7Gqei2+H9emSvLF3lRLBvhjjM4oVEf0TvKDzZoTzCV+rA2WPAuuyaS1vUjQwWKwfQ8Lqecv4V23KoOgDG8lLM5BA2JHUIALv50Mr87jhaJS54efGfkzdvts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716915267; c=relaxed/simple; bh=Al4s7Z4rKuBFGP+EYqZnU1TfJh1ZbOKpczMH2SefqCY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GPqvOTtU4QmCjagqAGyhG8rwJSJLJva5R4FrL7B7bwi3RbPtM6G5YQaUa8FFdfspHegNGPmwnqmoGsi7GnF+LOLIJECtAIv9aHfcuxa8jHQdbPpAe87Y5bZRHdxJZDOqMmel1/nAUF9kGJfGxeN0p7zhxGgaMRrnBm5VJZUBHJ8= 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=P2ezMosy 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.1.0) id 215b1d134f804519; Tue, 28 May 2024 18:54:23 +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 275746A5036; Tue, 28 May 2024 18:54:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1716915263; bh=Al4s7Z4rKuBFGP+EYqZnU1TfJh1ZbOKpczMH2SefqCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=P2ezMosyfCfERI8VbHozmmMo8dt6tZ0qwUxaGI8nSiH1N+2LK6Slpg0Bhmje2+97J 0rNhIKMt15qcQaGf8u3GFf+Bm4ygdXSN03PDU1IkEt2+egGI/WRKxOZB40Pv9T+6IU gALNzwLzAydWXSPzvVJIJ2a2l79WGvggCbuomyrhodDj1Ml/Ls2t7MbzCnTOgojR59 QTgqkgrlo8AzvA/G2Yezx2fPagJTxzKXZ74qhLj9EkIsPH+exwd1thaLx+0so/esnR o58JWkPK/Efn2ZmIwfya4Q8G5uJDu4WiU8fgqViQWJ7Ii82Nd+og1XijNRCmRkp3wq TKFWYvlg2f+SA== From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , "Rafael J. Wysocki" , Lukasz Luba , Daniel Lezcano , Srinivas Pandruvada , Zhang Rui Subject: [PATCH v2 1/5] thermal: trip: Rename __thermal_zone_set_trips() to thermal_zone_set_trips() Date: Tue, 28 May 2024 18:50:09 +0200 Message-ID: <4937015.31r3eYUQgx@kreacher> In-Reply-To: <12458899.O9o76ZdvQC@kreacher> References: <12458899.O9o76ZdvQC@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: gggruggvucftvghtrhhoucdtuddrgedvledrvdejkedgjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvdffueeitdfgvddtudegueejtdffteetgeefkeffvdeftddttdeuhfegfedvjefhnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepjedprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrrghfrggvlheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhukhgrshiirdhluhgsrgesrghrmhdrtghomhdprhgtphhtthhopegurghnihgvlhdrlhgviigt 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 --- v1 -> v2: Rebase. --- 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 @@ -513,7 +513,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;