Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp519359rdb; Thu, 30 Nov 2023 10:38:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAwfvIv/l8SiYfuQljL2NMkUfhNCbp8/UtObrIVvH6kHjKE3sn8F5eRe9FZDK26L6mNmCQ X-Received: by 2002:a17:902:d488:b0:1d0:5be:7814 with SMTP id c8-20020a170902d48800b001d005be7814mr8662673plg.23.1701369508951; Thu, 30 Nov 2023 10:38:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701369508; cv=none; d=google.com; s=arc-20160816; b=JNf7+JU8qvhIJMVZ4QJ22C9R9JUUogn3HJz8XuYgLjHOnoviT9UYAqthYe2dPtwIcy BdsbHTLr3N5ZCdsymfuXh++rOs3Rj8Mwh1p+mwqY3MiE5rjLtclSWOGV7rvy3DlVksYw 3clAMbHCYQ+K+VezWy07zLSuqpBO9iszPNQdQRz+W6JisMk9OCWsfqzM8aAqDMdr+++5 h898GHGBCH7CLdeXFiE3o+bwVjJE/LZire/NlRj8QfEkf5+ZZBhtYbTaqFjLBXPW10e6 Y3v9ouVbt/PNxHgbdrDOMapwD0tzkfb1xQccVHH3jkc3I4zwaQE8KaD7WYNtnB63B2We hpqg== 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=uhxVr7xa+WWnjjY+k6zg5vDoeXGIPIS9QeVTh3n2zqs=; fh=nLypB3rvk504GacFIka1NRIrs+dxk/mQtlixTJ9Bzjw=; b=HdFXbHT0qK+wNCjs32OSo5sdQVwwKccQtWcvd5SUU4IpL7oooF2yr9PntgLajClJEp 204C1w4wPLXyY+6BgMAk947lN4ve/IcTrB+KvQgZWn4pepZhWH+NakBXHf2YXDYMbLGU z7d2ET0DJksVEa/hAo2aSHHHvbsL2uA4u7CybiXZcHvJwIEvTmZFK1wl++1DmAazBSch QVuQCJT8rRRub4SO7GJ7N9Tl6aWV6uLj92YUS3SMyFxeDHaEAI5ncHBiKkW/7nUSTOIA rFTIRuc8luuCGugCyvMnCVsA11ksGcvPlifDixNt7SdkOVRJY2Fwhb1cqUTKugU2RUCC lL2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id iz20-20020a170902ef9400b001d044978d21si892563plb.349.2023.11.30.10.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 10:38:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 0A7268028A62; Thu, 30 Nov 2023 10:38:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346761AbjK3SiH (ORCPT + 99 others); Thu, 30 Nov 2023 13:38:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232292AbjK3SiA (ORCPT ); Thu, 30 Nov 2023 13:38:00 -0500 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D197510F1; Thu, 30 Nov 2023 10:38:03 -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 e1046639243e0389; Thu, 30 Nov 2023 19:38:02 +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 C9FA666862D; Thu, 30 Nov 2023 19:38:01 +0100 (CET) From: "Rafael J. Wysocki" To: Daniel Lezcano , Lukasz Luba Cc: Linux PM , LKML , Srinivas Pandruvada , Zhang Rui Subject: [PATCH v1 0/2] thermal: sysfs: Simplifications of trip point attribute callbacks Date: Thu, 30 Nov 2023 19:27:36 +0100 Message-ID: <5754079.DvuYhMxLoT@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: gggruggvucftvghtrhhoucdtuddrgedvkedrudeijedguddugecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeegfffhudejlefhtdegffekteduhfethffhieettefhkeevgfdvgfefieekiefgheenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepiedprhgtphhtthhopegurghnihgvlhdrlhgviigtrghnoheslhhinhgrrhhordhorhhgpdhrtghpthhtoheplhhukhgrshiirdhluhgsrgesrghrmhdrtghomhdprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghr nhgvlhdrohhrghdprhgtphhtthhopehsrhhinhhivhgrshdrphgrnhgurhhuvhgruggrsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtghpthhtoheprhhuihdriihhrghnghesihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=6 Fuz1=6 Fuz2=6 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 10:38:25 -0800 (PST) Hi, These patches simplify trip point attribute callbacks in two ways. The first patch, which is a direct replacement for https://patchwork.kernel.org/project/linux-pm/patch/4869676.GXAFRqVoOG@kreacher/ gets rid of redundant steps from the _store() callbacks for the trip point temperature and hysteresis and makes them use zone locking only as necessary. The second patch eliminates zone locking from all of the _show() callbacks for trip point temperature, hysteresis and type, because it is not needed there. Please refer to the individual patch changelogs for details. Thanks!