From patchwork Wed Sep 25 17:37:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 13812377 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 A7D64CCF9E8 for ; Wed, 25 Sep 2024 17:39:45 +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=YsNA+MYVbDSNXO0P4hpNoHO0Gx RaqzRD64NHEQMRqft5pQHkfrpHFXwv2qxcwjhkev//1HSP0Jq/kTcqAEs69dOFasDhb/RCIWfZJpG Bfe+cgMOGBRiMFO4PCPtwKvfnlwBmeUQT94NwHw6eGPjG8dinOxbHdL78SeJ66JK4pZNWVzdzgqDZ UT4IVPJ+kwtY0cM9rRHit31KzhfY1l0GowNwX97qiDSIHccj+CAeRU3XPOEN+IzGTfD0KquWfJFCr VxACYlDeNwzwG55BwnxdtCg8MsaVbxfr04tVX7PVLefd65Oj8rMqCjUWh6oatpxxQgpJj4/DEQ/Ru ach9iWjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stVzC-00000006D7k-0UgD; Wed, 25 Sep 2024 17:39:34 +0000 Received: from relay.smtp-ext.broadcom.com ([192.19.144.209]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stVxz-00000006Ctd-1bmc for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 17:38:21 +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 55D88C0000E8; Wed, 25 Sep 2024 10:38:14 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 55D88C0000E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1727285894; bh=caFjqUKTTKYo3ARfDI2wUHa6fkmv8GVAarYg8soFnIc=; h=From:To:Cc:Subject:Date:From; b=nOAWnNwihO9FMTacLPkraX34LZeWz1vAzsQ2ncbDYbalmFHWakNXJxlxd8076eAdr zKgx0zWHzKr5NWGBExqazR1y8Pefb9+x1fH4eClfh/zo+KpDE1sM8YuL9QGP5PyACj cCMf4sLNfOiEfok3ldB5P8tLgQDeW6p1ClkBzzF8= 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 F200518041CAC6; Wed, 25 Sep 2024 10:38:13 -0700 (PDT) From: Florian Fainelli To: linux-kernel@lists.infradead.org Cc: Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Russell King , linux-arm-kernel@lists.infradead.org (moderated list:ARM SUB-ARCHITECTURES), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ARM: bcm: brcmstb: Drop custom init_irq callback Date: Wed, 25 Sep 2024 10:37:58 -0700 Message-ID: <20240925173758.29224-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_103819_882591_F6BFCE10 X-CRM114-Status: GOOD ( 11.42 ) 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