Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp425226ybx; Fri, 1 Nov 2019 05:46:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVBNtEOfyf5DE0Gk9M5a+7tjOdCOAK5B1IF+JyzsKZ/1Iep7kZZBWzSBfKXm8SDhDDL04c X-Received: by 2002:a17:906:5490:: with SMTP id r16mr9437555ejo.308.1572612361287; Fri, 01 Nov 2019 05:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572612361; cv=none; d=google.com; s=arc-20160816; b=ECQuHzUgi/axGPqOtNzJ+Z/ZYZ5bPPsRjg7DlyUuIZ8lXsxgc0sNV6VRD37yH6SVsU MoWkcFkor3qzzbI9JBaIv1AUAkqObzfP1+gNyBuXxP+G6DEVe7O/BDAzlaG5HXTJENFU ksU3o9cnlrhhIiYL661aj2bp/hxBk+ztJz8y853Cbb79Bn08IGTzke+3mjxWGLRw19pX 8d7JPHrIbKE5bKMzNVZwgFUlqG77MDStFFflCsJ+FT6ooeQVhO1TmNt5z8XTB8FwEeTr 3aWp74QMronPeoMd3MGbOYfps1PEv7Q1wkb7rjUs0WpSr+HjNIHcV9qcnLX5of757qP8 Gc5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jc+8R+PtxSGR+WKCXh82E6vFl/rmsOl6moV7TXDxFX4=; b=nVFZ+x90S8Bpfcze7CJoz1pI83hSHqnX2Xaw4ouOyiWLSuwIb4J1lKqVYR/jIYhsSB nkCwriszG5gNAd8hecjly9+xTwU3rdks86SQsfzLr3lRRAd51UkbYL8Go08bTLE9qgZ1 UERSzBEdSvAv/up+2rPRbZBfDwbX+S9Z7RBGEg6VL83YYu/ARxpGz1qZw1yL8GMjRkk7 62rC78wo8AA4l0I9BTgqkGGNeA5jRY5tp920OOPAmqs0Od4LwVQRYotgB4MsqKTTdEAh ZD/J2qZaAgs2PK2Ubrx5iWD/SHDfmS0jjLalreWNr9cwUBdXuLgYvSJp7ol3jjPjSG9M 9jgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b="J/JRfV9H"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q26si5726522ejz.43.2019.11.01.05.45.37; Fri, 01 Nov 2019 05:46:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b="J/JRfV9H"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730703AbfKAMmg (ORCPT + 99 others); Fri, 1 Nov 2019 08:42:36 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:36612 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730687AbfKAMmf (ORCPT ); Fri, 1 Nov 2019 08:42:35 -0400 Received: by mail-lf1-f66.google.com with SMTP id a6so3735427lfo.3 for ; Fri, 01 Nov 2019 05:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jc+8R+PtxSGR+WKCXh82E6vFl/rmsOl6moV7TXDxFX4=; b=J/JRfV9HzoZlnhX1POjx2/SwNqsyMWkbfshx0nK22l45yXboNh1oT/kQneIEMji9Mr Xkyj+zQPd5Xgyit2kxA5vg3ijz9KftVH6bMKlKuecsBcLextkIZKQP3ZT9NBN0HW1CY4 YJkUX9TbX91A9agwyObsFA9NolReMzGJ8+R6c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jc+8R+PtxSGR+WKCXh82E6vFl/rmsOl6moV7TXDxFX4=; b=kuPNaGjH2hh3U/Ai3SG1YUCRk2YKTcTb/JQv09DHdxKylf6qn6yx4qyXBITtjOLoJx NvG0D6uq1zGbaWeZj1WITDEdne48PUFEY/89h+4kClVq71eaO/emy785NI2Rf6ITYVSt 5WJ0O2EGw86B+t/PflJo3/w6o7KXTpDSv1BAEV0DG+7PwCu/+pDGbILCb0oSeE2nH3Eb U/XRTq6wWuJW8yjx5m2zzRqYRv2pmknRHMeSdBYsEu3LkfIfqjNbp3rlTrbLbC5MRCQb LtEY4iFZsalXo7/5dRrIYk1+bDS3Q/kDs8HMGd1VnLSymKor9sKkrc6bWIDINs5UcPwj jq4g== X-Gm-Message-State: APjAAAVoJlx0f2/chmlly0uSl1GkhTcVuTsLF1CZcBbjXQMQz21kFhXS 2dPKozFwh7MaZDEClftk+IAjN/WB7tfvYIBM X-Received: by 2002:a19:4bd8:: with SMTP id y207mr6713994lfa.125.1572612152074; Fri, 01 Nov 2019 05:42:32 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id o26sm2458540lfi.57.2019.11.01.05.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 05:42:31 -0700 (PDT) From: Rasmus Villemoes To: Qiang Zhao , Li Yang , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Rasmus Villemoes Subject: [PATCH v3 13/36] powerpc/83xx: remove mpc83xx_ipic_and_qe_init_IRQ Date: Fri, 1 Nov 2019 13:41:47 +0100 Message-Id: <20191101124210.14510-14-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191101124210.14510-1-linux@rasmusvillemoes.dk> References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191101124210.14510-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is now exactly the same as mpc83xx_ipic_init_IRQ, so just use that directly. Signed-off-by: Rasmus Villemoes --- arch/powerpc/platforms/83xx/km83xx.c | 2 +- arch/powerpc/platforms/83xx/misc.c | 7 ------- arch/powerpc/platforms/83xx/mpc832x_mds.c | 2 +- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 2 +- arch/powerpc/platforms/83xx/mpc836x_mds.c | 2 +- arch/powerpc/platforms/83xx/mpc836x_rdk.c | 2 +- arch/powerpc/platforms/83xx/mpc83xx.h | 5 ----- 7 files changed, 5 insertions(+), 17 deletions(-) diff --git a/arch/powerpc/platforms/83xx/km83xx.c b/arch/powerpc/platforms/83xx/km83xx.c index 5c6227f7bc37..3d89569e9e71 100644 --- a/arch/powerpc/platforms/83xx/km83xx.c +++ b/arch/powerpc/platforms/83xx/km83xx.c @@ -177,7 +177,7 @@ define_machine(mpc83xx_km) { .name = "mpc83xx-km-platform", .probe = mpc83xx_km_probe, .setup_arch = mpc83xx_km_setup_arch, - .init_IRQ = mpc83xx_ipic_and_qe_init_IRQ, + .init_IRQ = mpc83xx_ipic_init_IRQ, .get_irq = ipic_get_irq, .restart = mpc83xx_restart, .time_init = mpc83xx_time_init, diff --git a/arch/powerpc/platforms/83xx/misc.c b/arch/powerpc/platforms/83xx/misc.c index 6935a5b9fbd1..1d8306eb2958 100644 --- a/arch/powerpc/platforms/83xx/misc.c +++ b/arch/powerpc/platforms/83xx/misc.c @@ -88,13 +88,6 @@ void __init mpc83xx_ipic_init_IRQ(void) ipic_set_default_priority(); } -#ifdef CONFIG_QUICC_ENGINE -void __init mpc83xx_ipic_and_qe_init_IRQ(void) -{ - mpc83xx_ipic_init_IRQ(); -} -#endif /* CONFIG_QUICC_ENGINE */ - static const struct of_device_id of_bus_ids[] __initconst = { { .type = "soc", }, { .compatible = "soc", }, diff --git a/arch/powerpc/platforms/83xx/mpc832x_mds.c b/arch/powerpc/platforms/83xx/mpc832x_mds.c index 1c73af104d19..6fa5402ebf20 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc832x_mds.c @@ -101,7 +101,7 @@ define_machine(mpc832x_mds) { .name = "MPC832x MDS", .probe = mpc832x_sys_probe, .setup_arch = mpc832x_sys_setup_arch, - .init_IRQ = mpc83xx_ipic_and_qe_init_IRQ, + .init_IRQ = mpc83xx_ipic_init_IRQ, .get_irq = ipic_get_irq, .restart = mpc83xx_restart, .time_init = mpc83xx_time_init, diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c b/arch/powerpc/platforms/83xx/mpc832x_rdb.c index 87f68ca06255..622c625d5ce4 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c @@ -219,7 +219,7 @@ define_machine(mpc832x_rdb) { .name = "MPC832x RDB", .probe = mpc832x_rdb_probe, .setup_arch = mpc832x_rdb_setup_arch, - .init_IRQ = mpc83xx_ipic_and_qe_init_IRQ, + .init_IRQ = mpc83xx_ipic_init_IRQ, .get_irq = ipic_get_irq, .restart = mpc83xx_restart, .time_init = mpc83xx_time_init, diff --git a/arch/powerpc/platforms/83xx/mpc836x_mds.c b/arch/powerpc/platforms/83xx/mpc836x_mds.c index 5b484da9533e..219a83ab6c00 100644 --- a/arch/powerpc/platforms/83xx/mpc836x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc836x_mds.c @@ -208,7 +208,7 @@ define_machine(mpc836x_mds) { .name = "MPC836x MDS", .probe = mpc836x_mds_probe, .setup_arch = mpc836x_mds_setup_arch, - .init_IRQ = mpc83xx_ipic_and_qe_init_IRQ, + .init_IRQ = mpc83xx_ipic_init_IRQ, .get_irq = ipic_get_irq, .restart = mpc83xx_restart, .time_init = mpc83xx_time_init, diff --git a/arch/powerpc/platforms/83xx/mpc836x_rdk.c b/arch/powerpc/platforms/83xx/mpc836x_rdk.c index b7119e443920..b4aac2cde849 100644 --- a/arch/powerpc/platforms/83xx/mpc836x_rdk.c +++ b/arch/powerpc/platforms/83xx/mpc836x_rdk.c @@ -41,7 +41,7 @@ define_machine(mpc836x_rdk) { .name = "MPC836x RDK", .probe = mpc836x_rdk_probe, .setup_arch = mpc836x_rdk_setup_arch, - .init_IRQ = mpc83xx_ipic_and_qe_init_IRQ, + .init_IRQ = mpc83xx_ipic_init_IRQ, .get_irq = ipic_get_irq, .restart = mpc83xx_restart, .time_init = mpc83xx_time_init, diff --git a/arch/powerpc/platforms/83xx/mpc83xx.h b/arch/powerpc/platforms/83xx/mpc83xx.h index d343f6ce2599..f37d04332fc7 100644 --- a/arch/powerpc/platforms/83xx/mpc83xx.h +++ b/arch/powerpc/platforms/83xx/mpc83xx.h @@ -72,11 +72,6 @@ extern int mpc837x_usb_cfg(void); extern int mpc834x_usb_cfg(void); extern int mpc831x_usb_cfg(void); extern void mpc83xx_ipic_init_IRQ(void); -#ifdef CONFIG_QUICC_ENGINE -extern void mpc83xx_ipic_and_qe_init_IRQ(void); -#else -#define mpc83xx_ipic_and_qe_init_IRQ mpc83xx_ipic_init_IRQ -#endif /* CONFIG_QUICC_ENGINE */ #ifdef CONFIG_PCI extern void mpc83xx_setup_pci(void); -- 2.23.0