From patchwork Wed Sep 25 17:38:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 13812379 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 0D88FCCF9E8 for ; Wed, 25 Sep 2024 17:40:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=bCMI+h29hDa16Bu8nSnhxsaTFJi6dDyo/VKVS29DgDs=; b=mU8n8ccCx2zeP1WiIKiCufpXlP 28u8L+sLQhrBJJDgz7zYXm+vamIlRm6hZQNPoyS3ABHT/6UyvUgbznkrzd1Xgs4Bd+0yVMJXJVht0 dgmsCwgUH8V7D0w1sQijPE48ZLsd0rhiANALdRL9xErZ2RHbKIHAWaRJE0V5hNhVk15GSAcOXmdtn W/RWkeMONWuumdbT160v7N4ffEb7/Xum+uOxsKHPKFtfjqYJhH1pRrv1mQECqicZnerl4aLo5mwaT PolXMGWLq3mjpVceCUh30mKI8nri54LgVuzhYDNeBPdgD+yiuuLZzVujmZQZGXvHTWASxYK256geA G8Wovazw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stW0M-00000006DXt-0edd; Wed, 25 Sep 2024 17:40:46 +0000 Received: from relay.smtp-ext.broadcom.com ([192.19.144.207]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stVyM-00000006CzG-3IRk for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 17:38:44 +0000 Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 70FDCC0000EA; Wed, 25 Sep 2024 10:38:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 70FDCC0000EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1727285921; bh=caFjqUKTTKYo3ARfDI2wUHa6fkmv8GVAarYg8soFnIc=; h=From:To:Cc:Subject:Date:From; b=pllh3hS9zoX7zSOuuJkwjw7ku3qZEEsWBeUEhB2ZLDrBdE1JJ1EPCCH6nZUB+JNnD kzTlAP6TeVfTfjSGjJ6hcx1lclWbTKf/8CfCqa3uOh59c1i46mpSgH+5b8tWNUNySz F/19XKrot6XgHNXWLs5IMpf3FItnLwwDt21DWMjg= Received: from fainelli-desktop.igp.broadcom.net (fainelli-desktop.dhcp.broadcom.net [10.67.48.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id 244FE18041CAC6; Wed, 25 Sep 2024 10:38:41 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Russell King , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ARM: bcm: brcmstb: Drop custom init_irq callback Date: Wed, 25 Sep 2024 10:38:39 -0700 Message-ID: <20240925173839.29315-1-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_103842_913739_0AA6A2A3 X-CRM114-Status: GOOD ( 11.62 ) 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 The default is to call irqchip_init() in the absence of a machine descriptor init_irq callback. Signed-off-by: Florian Fainelli --- arch/arm/mach-bcm/brcmstb.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-bcm/brcmstb.c b/arch/arm/mach-bcm/brcmstb.c index 43bc98e388bf..27948b515993 100644 --- a/arch/arm/mach-bcm/brcmstb.c +++ b/arch/arm/mach-bcm/brcmstb.c @@ -23,11 +23,6 @@ u32 brcmstb_uart_config[3] = { 0, }; -static void __init brcmstb_init_irq(void) -{ - irqchip_init(); -} - static const char *const brcmstb_match[] __initconst = { "brcm,bcm7445", "brcm,brcmstb", @@ -36,5 +31,4 @@ static const char *const brcmstb_match[] __initconst = { DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)") .dt_compat = brcmstb_match, - .init_irq = brcmstb_init_irq, MACHINE_END