From patchwork Wed Feb 21 15:45:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "A. Sverdlin" X-Patchwork-Id: 13565771 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9D8B8C48BC3 for ; Wed, 21 Feb 2024 15:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :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=5TsvGgzWAUKiCsqwtd04zQTdmAHjaeWEw2mz0Ty3ZZM=; b=3ZMZQntfnAP8mC zlaE0GgZ2xUukNlPgvwY6FAw24nFAim2P3KjD/+ZMbGePoHGdjw5AG8AhIqh7Z8bZ9IBAZ4pIq3eB vt06asJlKpaboUegYrsP/0IQ0lPNZze28XBoPaCCsP6Hq3pXWaEat2dHlaZWU93M/2AI+SS5W46hb App/To/5M7Ho++RrEwVS15Roedj+37ZpHtFWULpcS1+Z/Wnf5I0DLuBgKuH/AksNzll8YlCmXFgMC i4hw4GUIsx75CZ23kSls08vlS/GnZtQ+MplYcgcAWc7hHD30acrIDIucPa2MJvMJo2KM4LSNISC9U MtSsfTn0EQLWqgnuIZmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcopd-00000001YLD-4BnE; Wed, 21 Feb 2024 15:48:26 +0000 Received: from mta-65-228.siemens.flowmailer.net ([185.136.65.228]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcopa-00000001YKl-1IbQ for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 15:48:24 +0000 Received: by mta-65-228.siemens.flowmailer.net with ESMTPSA id 2024022115461805882a2b494ad25012 for ; Wed, 21 Feb 2024 16:46:18 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=alexander.sverdlin@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=J5Se4IlAntLxF9W2J1JJEFb+S1gXQPsA5HMQVz5Mt4s=; b=gjxJhHjJLaWuTG1jOsXVpqc7PIT1sGY1NGhviNe9TwLJcpduQOqBPOhiHohOKTyQP8+j4r Zx7O8J0pmoIHHFTnmxRiLGRL+AIyh4QVO7zIPmej9bvWvwexJd7HaD6H41211IBeabCH7Bqk 1NHUw6K8vVwFMNS9220DZLN9kgBoM=; From: "A. Sverdlin" To: linux-omap@vger.kernel.org Cc: Alexander Sverdlin , Paul Walmsley , Tony Lindgren , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: AM33xx: PRM: Remove redundand defines Date: Wed, 21 Feb 2024 16:45:50 +0100 Message-ID: <20240221154614.3549951-1-alexander.sverdlin@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-456497:519-21489:flowmailer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_074822_888446_EA2232C5 X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Alexander Sverdlin AM33XX_PRM_RSTCTRL_OFFSET is already defined in prm33xx.h and AM33XX_RST_GLOBAL_WARM_SW_MASK in prm-regbits-33xx.h. Signed-off-by: Alexander Sverdlin --- arch/arm/mach-omap2/prm33xx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-omap2/prm33xx.c b/arch/arm/mach-omap2/prm33xx.c index 4b65a0f9cf7d9..4a462310a4b09 100644 --- a/arch/arm/mach-omap2/prm33xx.c +++ b/arch/arm/mach-omap2/prm33xx.c @@ -15,10 +15,6 @@ #include "prm33xx.h" #include "prm-regbits-33xx.h" -#define AM33XX_PRM_RSTCTRL_OFFSET 0x0000 - -#define AM33XX_RST_GLOBAL_WARM_SW_MASK (1 << 0) - /* Read a register in a PRM instance */ static u32 am33xx_prm_read_reg(s16 inst, u16 idx) {