From patchwork Mon Jul 1 06:01:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2805511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1EFFEBF4A1 for ; Mon, 1 Jul 2013 06:03:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 392EB2011E for ; Mon, 1 Jul 2013 06:03:34 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E39B920115 for ; Mon, 1 Jul 2013 06:03:32 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtXBX-0007oW-IK; Mon, 01 Jul 2013 06:02:00 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtXBG-0008SU-Fh; Mon, 01 Jul 2013 06:01:42 +0000 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtXBE-0008QX-Ig for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 06:01:41 +0000 Received: by mail-pd0-f171.google.com with SMTP id y14so2321797pdi.2 for ; Sun, 30 Jun 2013 23:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=87Jl2onRO9y8x6vvwfeDaIbTsLFOb67U1H5sgN+Yavk=; b=lrptN27eB16YPsKsGefHyMG99x89BCza0ZGHJSL4544oXKts0GlRBr30BUY2q+XQIA ZSHnfMGoBu8KZkf7yMbChm1d7ExCL3QhKk2yXoYjtN4VgXNksxT8gfj5DUlyQn7EfOhQ n3vcrnndoZmi5iWj+wNAprfa/NjdeEorlzfKFm04RMt8MsD+77OSdsrWQ6k9JHM15HEM s2WVYjIgt0eXCuPX7AQcVgRfja2Z4O0lykWwgQAaQ0hwfb9MLC2mzBl3J+SFaGzIRCk3 EUp/0h5GQmZ2yuVvwyS2hmXvWtCouadfYgrDksGhv9CuSqzQEI5nXQn/vzWNG/5TbROK x3Jw== X-Received: by 10.66.37.43 with SMTP id v11mr22347170paj.108.1372658479109; Sun, 30 Jun 2013 23:01:19 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id br1sm20567155pbb.4.2013.06.30.23.01.16 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Jun 2013 23:01:17 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 01 Jul 2013 15:01:21 +0900 Message-Id: <20130701060121.21728.18844.sendpatchset@w520> In-Reply-To: <20130701060103.21728.83833.sendpatchset@w520> References: <20130701060103.21728.83833.sendpatchset@w520> Subject: [PATCH 02/04] ARM: shmobile: Use default ->init_irq() on r8a73a4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_020140_721588_E22BA242 X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , linux-arm-kernel@lists.infradead.org, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Remove redundant irqchip_init() callback. The default case of NULL will result in invoking irqchip_init() anyway. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/board-ape6evm.c | 2 -- arch/arm/mach-shmobile/setup-r8a73a4.c | 2 -- 2 files changed, 4 deletions(-) --- 0001/arch/arm/mach-shmobile/board-ape6evm.c +++ work/arch/arm/mach-shmobile/board-ape6evm.c 2013-07-01 13:29:37.000000000 +0900 @@ -20,7 +20,6 @@ #include #include -#include #include #include #include @@ -103,7 +102,6 @@ static const char *ape6evm_boards_compat DT_MACHINE_START(APE6EVM_DT, "ape6evm") .init_early = r8a73a4_init_delay, - .init_irq = irqchip_init, .init_time = shmobile_timer_init, .init_machine = ape6evm_add_standard_devices, .dt_compat = ape6evm_boards_compat_dt, --- 0001/arch/arm/mach-shmobile/setup-r8a73a4.c +++ work/arch/arm/mach-shmobile/setup-r8a73a4.c 2013-07-01 13:29:53.000000000 +0900 @@ -18,7 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include -#include #include #include #include @@ -224,7 +223,6 @@ static const char *r8a73a4_boards_compat DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)") .init_early = r8a73a4_init_delay, - .init_irq = irqchip_init, .init_machine = r8a73a4_add_standard_devices_dt, .init_time = shmobile_timer_init, .dt_compat = r8a73a4_boards_compat_dt,