From patchwork Thu Nov 30 18:27:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 17353 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp599620vqy; Thu, 30 Nov 2023 10:38:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcSRc28/qWBCz6XuAle6VBw55R3P2U34lTvI98iqGNEtNNoQJ+R/GVZ0VM9lshBPkqNyfV X-Received: by 2002:a05:6a20:918a:b0:187:c496:898b with SMTP id v10-20020a056a20918a00b00187c496898bmr25362362pzd.3.1701369504049; Thu, 30 Nov 2023 10:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701369504; cv=none; d=google.com; s=arc-20160816; b=hS5StqfkTFMYxqe7Clnb2zU98bM+fkmdh+Ysko3n3IeFyzp1FZGD5A+VJq5vSY8hwE nSfNdrmdXlG6kTwnamVJH2oE4a9AaqCiHd7+BUAL26kkTI2JEj2vwaVmrKCF32GHqP5G BVgDA/nWwYMy/4OYauMfBSlluaztSxTjAJ3ge07qhcGJVoAuDAFN9uaL9QPflGwCsgD9 ugrwL7zKBMCYjs1UoFRlo40mQrGyOtnk+5kFYe7IU2YluMFo1c0xel99F34onxtP5D/m 2/NVqPJFnSIg1NRXHjAcggx4faESHPFwrzdGYLxt7LoRrgZEnShGuwIxv5fFFF2sShQ4 uaDQ== 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 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id de12-20020a056a00468c00b006cddd0d9820si1635474pfb.72.2023.11.30.10.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 10:38:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 2F5968028A62; Thu, 30 Nov 2023 10:38:21 -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 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:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784015228831850757 X-GMAIL-MSGID: 1784015228831850757 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!