Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2938877rdb; Mon, 4 Dec 2023 11:36:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKrjuaWDqtzT5Ej+Kg5M8iP1JLWZDJChtVp3F3hipdS2Dyzue+0krjYEbTu1glhzuXCQVy X-Received: by 2002:a17:90a:a009:b0:286:6cc0:b8ff with SMTP id q9-20020a17090aa00900b002866cc0b8ffmr70677pjp.54.1701718586264; Mon, 04 Dec 2023 11:36:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701718586; cv=none; d=google.com; s=arc-20160816; b=fbZU6N1kUcIFK2V87F6UpogFv8nA9Sob728xlr86BD7Yq0z/glfu8V2ZNHwAwltPOo NJTISQuqmqeP3UeCL+5P8/PLWbqTiSyP2I59YoLXQ6zHMlK2VK8IShZeKCs6tpJ2U1N1 eUepd6Bxk3XMzW+ix1pzH5trHcPeCO8Ak61wpTxxNi6/+sv7K7j23lmau2bvHlnPmITF MewRYfrztn2A0w4ao4szrffgIJcA+SxqaQRnZk19h7wcbQFegBmllMMaXaUPT0NX+MQR 9pmWN5PeC0BomBMrQRxPIMsBM0RjQthtNi0Muvz1lzf2VAxxoQYmpQVTUyP+wG/8ZYPj xDkA== 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=DILv4nEh6g37pptuoYd4pQjsrS3amLXfBBRsHamR1yE=; fh=RtuDzG3qBdBopQSgnrq4t3A5FVYxVmvg6VEK5Hsq0QA=; b=Di7pmic0v6ilzUihf3LMWnTyctUJbU1P3mYix6jhWEnKhbTf3CtQqr28ozBECSI3vW T+7EcILM1RZ/pH5TMltvhyTkUELgbOXfiNXp9GWM7CXaipI+5ntPvEh41/rqtDFZBMO9 lfMDHI6iXQnyqO8TtM6j1RHeUHrpc73KmYfaZn1E5QqaIXGXreLwPCcxBwojTNoO8AG6 SP2vLZmuAGTWV7VKdoogm/M/tudX9oLMKd8YF9XZPzfSusRKt+B2VJqnAl40UzrxXx+q hA7moOhf1b4ZLiNB3zCw0+LTD2yTESZNi+lKTaV8QqlVmUqZRZSYBWqusimF8NNuSefz eAbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id cz14-20020a17090ad44e00b00276b87c8b8esi8643826pjb.59.2023.12.04.11.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 11:36:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 0EA40804C515; Mon, 4 Dec 2023 11:36:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232938AbjLDTgO (ORCPT + 99 others); Mon, 4 Dec 2023 14:36:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233420AbjLDTgL (ORCPT ); Mon, 4 Dec 2023 14:36:11 -0500 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56CF9CE; Mon, 4 Dec 2023 11:36:17 -0800 (PST) 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.4.0) id 76e4f80ac110b6ab; Mon, 4 Dec 2023 20:36:15 +0100 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 8F438668764; Mon, 4 Dec 2023 20:36:14 +0100 (CET) From: "Rafael J. Wysocki" To: Linux PM Cc: Daniel Lezcano , Lukasz Luba , LKML , Srinivas Pandruvada , Zhang Rui Subject: [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header Date: Mon, 04 Dec 2023 20:36:14 +0100 Message-ID: <2709306.mvXUDI8C0e@kreacher> 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: gggruggvucftvghtrhhoucdtuddrgedvkedrudejiedguddvjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeeipdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggrnhhivghlrdhlvgiitggrnhhosehlihhnrghrohdrohhrghdprhgtphhtthhopehluhhkrghsiidrlhhusggrsegrrhhmrdgtohhmpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepshhrihhn ihhvrghsrdhprghnughruhhvrggurgeslhhinhhugidrihhnthgvlhdrtghomhdprhgtphhtthhopehruhhirdiihhgrnhhgsehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=6 Fuz1=6 Fuz2=6 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 11:36:25 -0800 (PST) From: Rafael J. Wysocki The __thermal_zone_get_trip() header in drivers/thermal/thermal_core.h is redundant, because there is one already in thermal.h, so drop it. No functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/thermal/thermal_core.h | 2 -- 1 file changed, 2 deletions(-) Index: linux-pm/drivers/thermal/thermal_core.h =================================================================== --- linux-pm.orig/drivers/thermal/thermal_core.h +++ linux-pm/drivers/thermal/thermal_core.h @@ -120,8 +120,6 @@ void __thermal_zone_device_update(struct for (__trip = __tz->trips; __trip - __tz->trips < __tz->num_trips; __trip++) void __thermal_zone_set_trips(struct thermal_zone_device *tz); -int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, - struct thermal_trip *trip); int thermal_zone_trip_id(struct thermal_zone_device *tz, const struct thermal_trip *trip); void thermal_zone_trip_updated(struct thermal_zone_device *tz,