From patchwork Mon Jul 1 06:01:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2805531 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 6E7D09F3C3 for ; Mon, 1 Jul 2013 06:05:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FEC220115 for ; Mon, 1 Jul 2013 06:05:05 +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 5363E2012D for ; Mon, 1 Jul 2013 06:05:04 +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 1UtXC4-0007wX-6k; Mon, 01 Jul 2013 06:02:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtXBZ-0008Tx-I4; Mon, 01 Jul 2013 06:02:01 +0000 Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtXBX-0008SD-Kh for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 06:02:00 +0000 Received: by mail-pb0-f49.google.com with SMTP id jt11so4385449pbb.8 for ; Sun, 30 Jun 2013 23:01:38 -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=L0KkuHycWIWfm1x+K8OB44Mvv5lI0ILSipElGcaEoqM=; b=heU7NNclhVyfaHvEyGrFwlh4W2pwsC1/KJ7XdbGfvJF6UrMYnWOqrOyC2L3iddSr8s u/xezzGqtS/SuECjNZMrbB5fkKcPK/6F+uli6JSAf3Vsd20VQyr3wMgDCGfXr5eV+JUZ kIt7BBIxO7Oe7u4v2up79Obt9+x1wfhELbuqo8faaY18vd2aUPQptARd87VnuyNjGL88 9ak0C7Uqwc+4wSlh62j9yJK/MDrnyMEATJbftc+iCxfba2i5FCuindB1e3bStq6TI60f 8/wPoLlwtm7r5rS9+JMMxKXVhvnQDVAJdTj3QY5yXdeE8qZ1bTdVqHUSUcGF5OngotCC 3mHA== X-Received: by 10.66.136.49 with SMTP id px17mr22452611pab.133.1372658498164; Sun, 30 Jun 2013 23:01:38 -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 aj3sm22107284pad.8.2013.06.30.23.01.35 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Jun 2013 23:01:37 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 01 Jul 2013 15:01:40 +0900 Message-Id: <20130701060140.21728.27213.sendpatchset@w520> In-Reply-To: <20130701060103.21728.83833.sendpatchset@w520> References: <20130701060103.21728.83833.sendpatchset@w520> Subject: [PATCH 04/04] ARM: shmobile: Use default ->init_irq() on sh73a0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_020159_777926_3234A058 X-CRM114-Status: UNSURE ( 7.14 ) 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-kzm9g-reference.c | 2 -- arch/arm/mach-shmobile/setup-sh73a0.c | 2 -- 2 files changed, 4 deletions(-) --- 0001/arch/arm/mach-shmobile/board-kzm9g-reference.c +++ work/arch/arm/mach-shmobile/board-kzm9g-reference.c 2013-06-28 16:04:39.000000000 +0900 @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -99,7 +98,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-refere .map_io = sh73a0_map_io, .init_early = sh73a0_init_delay, .nr_irqs = NR_IRQS_LEGACY, - .init_irq = irqchip_init, .init_machine = kzm_init, .init_time = shmobile_timer_init, .dt_compat = kzm9g_boards_compat_dt, --- 0007/arch/arm/mach-shmobile/setup-sh73a0.c +++ work/arch/arm/mach-shmobile/setup-sh73a0.c 2013-06-28 16:04:47.000000000 +0900 @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -983,7 +982,6 @@ DT_MACHINE_START(SH73A0_DT, "Generic SH7 .map_io = sh73a0_map_io, .init_early = sh73a0_init_delay, .nr_irqs = NR_IRQS_LEGACY, - .init_irq = irqchip_init, .init_machine = sh73a0_add_standard_devices_dt, .dt_compat = sh73a0_boards_compat_dt, MACHINE_END