From patchwork Mon Jul 1 06:01:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2805521 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9FE079F3C3 for ; Mon, 1 Jul 2013 06:04:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D76E2011E for ; Mon, 1 Jul 2013 06:04:02 +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 80D0220115 for ; Mon, 1 Jul 2013 06:04:01 +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 1UtXBh-0007qw-Ls; Mon, 01 Jul 2013 06:02:10 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtXBM-0008T6-6x; Mon, 01 Jul 2013 06:01:48 +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 1UtXBJ-0008RF-8L for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 06:01:46 +0000 Received: by mail-pd0-f171.google.com with SMTP id y14so2314833pdi.30 for ; Sun, 30 Jun 2013 23:01:28 -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=dth9lJ3nNRjZU26SzRcADoRZElVWNHYG+3XT0WjGvng=; b=WofSwffGzbl0aRJ2xy27Hf0ljTcmX+0ht125GHj6ex0UxwH1KCIarw7qGxUOQtjDEr 8/1oKOHBUbxyGdVy65/I/1wvuuxQ91J2OgWfSc/y97/06okXsoeYGFQhSzdewXUeo6Yc rnKC6YC+8OCvPeyGyenl1eWlmY/IFWW41EyKd382SZLjtwQa8cma+lGlN/AfqvGEuoB2 PriNkt72uSg5kQrEaFY4CDjFZcxet/EhfMGl5i9zBmgAV9nlGBz58QEJYzA1WR2M5NJV TNhN9/DcwHiFw76uOeVPtKf/yrNeqIL01ClLGRNQZKIwIHMEWkt70l4/Hra8mNcHhpMJ 7mcg== X-Received: by 10.66.146.9 with SMTP id sy9mr22554492pab.16.1372658488754; Sun, 30 Jun 2013 23:01:28 -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 sq5sm22098194pab.11.2013.06.30.23.01.25 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Jun 2013 23:01:27 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 01 Jul 2013 15:01:31 +0900 Message-Id: <20130701060131.21728.85765.sendpatchset@w520> In-Reply-To: <20130701060103.21728.83833.sendpatchset@w520> References: <20130701060103.21728.83833.sendpatchset@w520> Subject: [PATCH 03/04] ARM: shmobile: Use default ->init_irq() on r8a7790 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_020145_418223_29ED500D X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , arnd@arndb.de, linux-arm-kernel@lists.infradead.org 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-lager.c | 2 -- arch/arm/mach-shmobile/setup-r8a7790.c | 2 -- 2 files changed, 4 deletions(-) --- 0001/arch/arm/mach-shmobile/board-lager.c +++ work/arch/arm/mach-shmobile/board-lager.c 2013-07-01 13:27:30.000000000 +0900 @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -104,7 +103,6 @@ static const char *lager_boards_compat_d DT_MACHINE_START(LAGER_DT, "lager") .init_early = r8a7790_init_delay, - .init_irq = irqchip_init, .init_time = r8a7790_timer_init, .init_machine = lager_add_standard_devices, .dt_compat = lager_boards_compat_dt, --- 0008/arch/arm/mach-shmobile/setup-r8a7790.c +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-07-01 13:27:52.000000000 +0900 @@ -19,7 +19,6 @@ */ #include -#include #include #include #include @@ -225,7 +224,6 @@ static const char *r8a7790_boards_compat DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") .init_early = r8a7790_init_delay, - .init_irq = irqchip_init, .init_time = r8a7790_timer_init, .dt_compat = r8a7790_boards_compat_dt, MACHINE_END