Message ID | 1870450.tdWV9SEqCh@kreacher |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp4735828vqm; Wed, 30 Aug 2023 12:31:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9X+0jkk6SZD4d7Dgm+JsXmg09EBt/Bil5OTdwVHgKHKjgnDtbl6PHn7CqGJixh0/sAPHk X-Received: by 2002:a05:6402:1856:b0:522:4cd7:efb0 with SMTP id v22-20020a056402185600b005224cd7efb0mr2404538edy.17.1693423877104; Wed, 30 Aug 2023 12:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693423877; cv=none; d=google.com; s=arc-20160816; b=lp8rCX4Ym7gy5Ci5zVIY/Df6a1f6cqk2484QfFlZFzYimniJP0DWyrl7ZeddWaJqDm U3mxWYQ5Nm8a3vA/BcyCRfexKGrBlGfnBaySG73lM5gbVrD4EKbrhRU2apyBYYxSAH3Y NWB3lrVnv5YHUOWoiWa5QZ8n7gAkso4TOQyvqKhOsCs3n34uen/Oiq9gcjFZdsJabtWn EU1fgBM/fQS18CqUL8ObWf0SKTg1C9CYtjuAAUYwH+zfBxJH3TN9ns41+s2GuSneq28j pJYk5bh20EQyp7BhDG4fKP7hyOFsPIaLOtUDcb4sWtI55OaumXdWhjHgjJPEOSMlrdYs jN1g== 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=Xk6r/lWCjtApoS3kMGGLgkZvyQBFOLwEft7D+BgH4Os=; fh=ft7C0AkFVXQfLsxS1mqtEwpxNshOt4NdptqXrfNbhrM=; b=A8hTGXp07QulPBLAhPjLyfYaGtx0wTlpjFcC0VqhsLTaHIQCRVoePAu1s5tG889e3/ FLEcbcNueNaHs2ZICXLoiLffgaXRRRk/ROhap1dRsmc2+FKgCRDoty9FoRJ1FdRWAmbj QFsNXscwRg7L7Ypg3NwvXEZiwYLW1+XyTKar6goTWFBtMgv5kkwB/EVR1w08TExDf9YH BwXbVedcg1+WOvXH3FLyWbCZ53mTy2KqQEZ3/e/kdE91U2CyLU8p1muBfp6ts/5DHpq8 8i7jAkj2PdJRv4wKP/o7MOl15OijJMDgqhlm5FR0Q8ruEz3W4sNaeVMJb4cM6tDDq42K CdQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020aa7d50e000000b00523409dcaabsi6154463edq.617.2023.08.30.12.30.49; Wed, 30 Aug 2023 12:31:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243397AbjH3TZI (ORCPT <rfc822;kuzukawa@gmail.com> + 99 others); Wed, 30 Aug 2023 15:25:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343617AbjH3QRC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 30 Aug 2023 12:17:02 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 211E11A6; Wed, 30 Aug 2023 09:16:57 -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 8eb6230b9429bc7e; Wed, 30 Aug 2023 18:16:56 +0200 Authentication-Results: v370.home.net.pl; spf=softfail (domain owner discourages use of this host) smtp.mailfrom=rjwysocki.net (client-ip=195.136.19.94; helo=[195.136.19.94]; envelope-from=rjw@rjwysocki.net; receiver=<UNKNOWN>) 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 v370.home.net.pl (Postfix) with ESMTPSA id 1A54266316E; Wed, 30 Aug 2023 18:16:56 +0200 (CEST) From: "Rafael J. Wysocki" <rjw@rjwysocki.net> To: Linux PM <linux-pm@vger.kernel.org> Cc: LKML <linux-kernel@vger.kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>, Zhang Rui <rui.zhang@intel.com>, Amit Kucheria <amitk@kernel.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Sebastian Reichel <sre@kernel.org> Subject: [PATCH v1 0/4] thermal: Eliminate thermal_zone_device_register() Date: Wed, 30 Aug 2023 18:10:31 +0200 Message-ID: <1870450.tdWV9SEqCh@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: gggruggvucftvghtrhhoucdtuddrgedviedrudefkedguddtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeekpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggrnhhivghlrdhlvgiitggrnhhosehlihhnrghrohdrohhrghdprhgtphhtthhopehsrhhinhhivhgrshdrphgrnhgurhhuvhgruggrsehlihhnuhigrdhinhhtvghl rdgtohhmpdhrtghpthhtoheprhhuihdriihhrghnghesihhnthgvlhdrtghomhdprhgtphhtthhopegrmhhithhksehkvghrnhgvlhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=8 Fuz1=8 Fuz2=8 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775683635127033726 X-GMAIL-MSGID: 1775683635127033726 |
Series |
thermal: Eliminate thermal_zone_device_register()
|
|
Message
Rafael J. Wysocki
Aug. 30, 2023, 4:10 p.m. UTC
Hi Everyone, After recently merged changes in the ACPI thermal and Intel DTS IOSF thermal drivers, the only callers of thermal_zone_device_register() are the ones using it for registering thermal zones without any trip points. They all pass zeros as 4 (out of 8) function arguments, so retaining the full thermal_zone_device_register() just for this purpose seems a bit excessive. For this reason, the series adds a thermal_zone_device_register() replacement tailored to this specific use case and called thermal_tripless_zone_device_register() [2/4] and makes all of the existing callers of the former use the replacement [3/4]. This allows thermal_zone_device_register() to be dropped [4/4]. The first patch is just a clean up making function headers in thermal.h a bit more consistent. This series it not intended to make any functional impact, but if the changes are fine with everyone, I would like to introduce them during the ongoing merge window to prevent the obsolete interface from lingering. The series applies to the linux-next branch in linux-pm.git. Thanks!