From patchwork Sat May 23 17:08:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 11566863 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B53F0739 for ; Sat, 23 May 2020 17:09:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 901032053B for ; Sat, 23 May 2020 17:09:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KO37V6WA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 901032053B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=AGm5eZJ02yaH/e8GOspuKPJJlVaPJpQzMNZO2ExDnfY=; b=KO3 7V6WAcuNbB17vuqWSotKqERT74V4Pjf6hoByDUlb6rWwVC/MpPnENvfW/LINzndo9sH6iyafpOfwR QE7aHXz3i2G6+T0tBaHuWSTMNAzJUikbzCYcp4iljQpjtVCWseJuLzNHcW7CIvfaMDyI3IExBWp8D WV921JW5hY9fUOXEoqIFHFakhp6J5hN1vtfxtSMTvogIiNZ64wLJlLLD3U3BRs5gm1QilQidbCHZ+ vMn5nkjv2i4e7Mkj2Y83fFehEBAo909wDe3WHfCJ9U7QpDP0PyoCYpf6+uoZ+EHEA10pwOaL54dg3 lXYCVoPzIriBMSDq7hhyU6nUkb/xFgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jcXe8-0004Ww-Lv; Sat, 23 May 2020 17:09:16 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jcXe2-0004FE-EA for linux-arm-kernel@lists.infradead.org; Sat, 23 May 2020 17:09:15 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E56901FB; Sat, 23 May 2020 10:09:06 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1B8823F305; Sat, 23 May 2020 10:09:06 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/8] soc: Use custom soc attribute group and DEVICE_ATTR_RO Date: Sat, 23 May 2020 18:08:51 +0100 Message-Id: <20200523170859.50003-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200523_100914_160064_2F5B735A X-CRM114-Status: UNSURE ( 6.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [217.140.110.172 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Greg Kroah-Hartman , Arnd Bergmann , Sudeep Holla MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, While trying to add SMCCC based SOC_ID support, I found the custom soc attribute group which had no users in the tree and check if it can be used or can be removed. I realised that it could clean up the custom attributes that are added using device_create_file today. Regards, Sudeep Sudeep Holla (8): soc: realview: Switch to use DEVICE_ATTR_RO() soc: realview: Use custom soc attribute group instead of device_create_file soc: integrator: Switch to use DEVICE_ATTR_RO() soc: integrator: Use custom soc attribute group instead of device_create_file soc: ux500: Switch to use DEVICE_ATTR_RO() soc: ux500: Use custom soc attribute group instead of device_create_file ARM: OMAP2: Switch to use DEVICE_ATTR_RO() ARM: OMAP2: Use custom soc attribute group instead of device_create_file arch/arm/mach-omap2/id.c | 20 ++++++----- drivers/soc/ux500/ux500-soc-id.c | 22 ++++++------ drivers/soc/versatile/soc-integrator.c | 48 ++++++++++++-------------- drivers/soc/versatile/soc-realview.c | 48 ++++++++++++-------------- 4 files changed, 69 insertions(+), 69 deletions(-) Reviewed-by: Greg Kroah-Hartman --- 2.17.1