From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795202770; b=hJazD+++yAjfzbHyANJPTcn3FrjJU3wTasDiP6rGkyIBkgVIBH6mAns1XmZnEXXQdTri JGfal01Jb3XSEkSMKeyQ8mfODM6vDbPxt2GYXSjJN9dcRZtGCWIWN39dCy/d73ZO070Mh WMlzps/+qP8uF08obfVbS0sSpDMrEf39s3gysNjZ8/ubZ+6Ix5mK4h57WudZTtXQafsb7 7wldvLi0tXXmqv1k+ewL1tdiiWRxYMJdLG57OpeWIFFoMRfPGpOLJP2SF9LbPBUB6+wmE W/BOp++Kl9LBVvCCrHLONbVwLzZzFyw5fxAVEBFHLpKi4mL5sXqxEepZI+0CQ9L6/SQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795202770; h=DMARC-Filter:Received:Received:X-Authority-Analysis:DKIM-Signature: Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse: X-AntiAbuse:X-BWhitelist:X-Source-IP:X-Source-L:X-Exim-ID:X-Source: X-Source-Args:X-Source-Dir:X-Source-Sender:X-Source-Auth: X-Email-Count:X-Org:X-Source-Cap:X-Local-Domain:X-CMAE-Envelope; bh=tiJscClyvBCvVMuU6LO39KI1GZ1MeRbP07Q45lvU8jk=; b=ixQr0t7KW4jtJMaupGRugbDTwHhCUrQQuNmNrYgPZLNGv8V15D6b3WbYZ9JsPYdzOJhN 8AgLpnQYuHkIFcLP6MA424ABkb/UBh7nlHopyI0U/H4v/4xblEe+Rvr8ynjWhS978yMeC x9UGcy8reIXbra/MUvH4iPmo/1gr6lAHkA/sw+uFFA8OXw5Li1kZ0fEMAflJvUM+/V33p CuCqbH9zv6fVP823hSxdYXYVfJCQf3yhAHXPCY2c9c4B7lkUmyJ+f4y4iLhxcbpGb04J8 QZ/x74HXEQuOVB6COEVav1pOLl2TunLKTPMfxA9gswnzizXjEkfLd52RmRf4lqK0k6w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=roeck-us.net; spf=fail smtp.mailfrom=roeck-us.net; dkim=pass header.d=roeck-us.net header.i=@roeck-us.net header.a=rsa-sha256 header.s=default header.b=3XOXyy62; arc=none smtp.remote-ip=44.202.169.39 Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23005606A32C for ; Fri, 20 Nov 2026 19:26:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 23005606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=roeck-us.net header.i=@roeck-us.net header.a=rsa-sha256 header.s=default header.b=3XOXyy62 Received: from eig-obgw-6004b.ext.cloudfilter.net ([10.0.30.210]) by cmsmtp with ESMTPS id USu4x7P7VOOJnUUFGxoBxU; Fri, 20 Nov 2026 19:26:02 +0000 Received: from 162-215-252-36.unifiedlayer.com ([208.91.199.152]) by cmsmtp with ESMTPS id UUFFxq57YlaNKUUFFxiFhE; Fri, 20 Nov 2026 19:26:01 +0000 X-Authority-Analysis: v=2.4 cv=UbpRSLSN c=1 sm=1 tr=0 ts=6b009eca a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=M0FbrtG7MMAA:10 a=pGLkceISAAAA:8 a=U8fI0MGuNzyFiabFk2gA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=KPbNTLLc3YvdawN95zVk:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner: List-Archive; bh=tiJscClyvBCvVMuU6LO39KI1GZ1MeRbP07Q45lvU8jk=; b=3XOXyy62BO35 kx5b8aLzzvYFbvuUv4thIZaCMEQGMu47SNNFzrQGREKEF2UiYFa5FKybVflvVEtL0fHKv/xFAC9de InuY6q0NYWaWzbK4IxyAdgqL6+XuysZkNvMYq4I4SuAqXQdU9/7PwSr+edcJXUqIFpS+cgSiTja4v giu5UBAmxHD/Q6qq0/J5q/QblE3eLIgPCC0/8SFj0MB59JEcxuccKlXuP73Ev/1Vc+WjzT4G9mkJE Ebj6MJ/3fokUcg5jtlezUq+PklHIDaNIlCcDe6HxPoiiGDNve8MU9x2hYWkMqd3rVBO9uUxEebrcR ZF6FUq1+GCRRsHgYyD9GyQ==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:33204 helo=server.roeck-us.net) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xUUFF-00000001WZb-0fkj; Sat, 21 Nov 2026 00:56:01 +0530 Date: Fri, 20 Nov 2026 11:26:00 -0800 From: Guenter Roeck To: Asaf Nuri =?utf-8?Q?Bertizlio=C4=9Flu?= Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwmon: (coretemp) Remove unused for_each_sibling() and name_attr Message-ID: References: <20261120165926.579575-1-asafbertizlioglu@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261120165926.579575-1-asafbertizlioglu@gmail.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1xUUFF-00000001WZb-0fkj X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (server.roeck-us.net) [108.223.40.66]:33204 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 8 X-Org: HG=direseller_whb_net_legacy;ORG=directi; X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes X-CMAE-Envelope: MS4xfGmr/bk+UPwgNdhUkL9K/oA3KS9BbzZidqQDJh9veBps09aDp7BQMB4m7nY/Wh95dqmr1UlrKz5EDmIu8Is0rSzWCfBGE9ATRW/EjjiVGDRGJcwmR6ZB ItnIAgXhQ911fTKMYAJwvuVcpVP7d48aQfb0JE6gKXkwIsHAaiml5b5gL8IP6O7jEUq1MxsVxKtRb1gyYFsEnN/OWSVwkPBkEhMWbqMloTuiZrk1Sa1adShW On Fri, Nov 20, 2026 at 07:59:26PM +0300, Asaf Nuri Bertizlioğlu wrote: > The for_each_sibling() macro lost its only user in commit > e1b370b64031 ("hwmon: (coretemp) Simplify sibling management"). > > The name_attr member of struct platform_data has been unused since > commit d72d19c26c41 ("hwmon: (coretemp) Convert to use > devm_hwmon_device_register_with_groups"), which left the "name" > attribute to the hwmon core. > > Remove both. No functional change. > > Built with CONFIG_SMP=y and CONFIG_SMP=n at W=1 with no new > warnings. Apart from the struct platform_data allocation size, > which shrinks from 88 to 56 bytes, the generated code is unchanged. > > The unused definitions were found with an LLM-based coding assistant, > which also drafted this changelog. Both findings were confirmed with > gcc -Wunused-macros, git grep and the git history. > > Signed-off-by: Asaf Nuri Bertizlioğlu Applied. Thanks, Guenter