Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4009693rdb; Wed, 30 Aug 2023 12:30:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3COPmNdEN5MBVuIEVh8SMlyf1yRel4fHxhlzg1HCY1RlfsHjgPOmrHFroVe8Yo9jMaM79 X-Received: by 2002:adf:f5c4:0:b0:313:f4e2:901d with SMTP id k4-20020adff5c4000000b00313f4e2901dmr2763513wrp.22.1693423847068; Wed, 30 Aug 2023 12:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693423847; cv=none; d=google.com; s=arc-20160816; b=CRioAkk88Cle81pFdANfr+4lCvOpsAy/2wYPznwaUfZXnpLqtt443jiepi9wMcTwwv wPJQpsPfx4JNOufwqIXVuevFMFX2L6EFRSUspQE/hEFkr3fsvprrx2cFfnkkcCFt3Vvn IwgZgPD4nOZ6HTQrd1dzusJ0akLJ7LnAbfda/SUMSZn0CYjx8ri6kjTMDRlM8PEYV/le NmmEBnB+YKqZjvV+RuYKuOjL/sDiKRPRyfqaNx8wYbNBQYDKOFUDd6Ow23vm5FgHMsP5 L6PWLmLbzXYaHF0Df6vLlF/jP+YdS3tzGGGnP436SrJ9tAlBHUtoGTAhtR1bGNZdla6K 5IPw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b21-20020aa7c6d5000000b0052a1d5992f0si7798509eds.380.2023.08.30.12.30.18; Wed, 30 Aug 2023 12:30:47 -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 S243381AbjH3TZH (ORCPT + 99 others); Wed, 30 Aug 2023 15:25:07 -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 ); 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=) 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" To: Linux PM Cc: LKML , Daniel Lezcano , Srinivas Pandruvada , Zhang Rui , Amit Kucheria , Miquel Raynal , Sebastian Reichel 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: X-Mailing-List: linux-kernel@vger.kernel.org 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!