Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp98322imj; Thu, 14 Feb 2019 16:10:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IYGpyqNW9enEF1JW4HlMobz2MYW3PYJ+ktSK4YER5KyChKLUsTmVxYbt/KS8V7NNH3L8pnz X-Received: by 2002:a63:4d4f:: with SMTP id n15mr2564165pgl.327.1550189448920; Thu, 14 Feb 2019 16:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550189448; cv=none; d=google.com; s=arc-20160816; b=o7PWdQ31DqmVLtlq8yue+vNHGpZBBgjmiIgFjxYXeouffaHJ2J+bhVaUZIyLqQfmsp 12777C2ANpSme1hMWHUPoqc2YPREt6sVwAJwIVB1XUVyferemtxn2HSlb9JNrn0cgwMN 1V1WOEaHPFsYR0/rnOCZ2qVxR/TkGyqidwZbPxQSlhjLRygUtXan5PpDj2YaJIdtHfLP pVT24fnV7gthBjU6MjngIlRNfBGVEagoF5sSWBWjJfL0aNGZn0yYkAVGaV1kIqZQiGwn L4Mi9ERHpRpTjHP2SbkNcXmgqKaEqZnnEtMHYxbZYQDgCoHM2cJyX27ovCiuCcuPjsDR eQfg== 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=FQpTYNOFF/xBKJ0FliQbJ6ZdH9bqB2OMp9FtFZp2/A0=; b=kZrbePNAAy+S8N0SHL94sJs8jFuAjvtVDs7/SQUG5T6l6+zaK1y/ks9G3ewu02sMkj 9r3CsRPKYfFZMuv6+tytRWNvHHcAFWT3SuOFsRzDhZRQp+XT9lMoQEZ9Qb8+1wEdbYDm FEgstTsQ2sUsQjLw71mtLBe6v0w6fhAmNsvA2NPJPWcnYvqJqCzRvFUcnm+00HXMfi8X 3VMvRbyasvOp9e/bQil0FOBHh65PWREu0qGFlPHx5+tcqi9wd5Zt3P+NJ/7gVr3rnCg1 dRpN8r9oSC0ZwKpIGBarZR1iy4yqI5UotHPiwTpZ+Ow7VNBHzrkBkSm77xYV7WDbBuqb MXDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=ieKkc0Mn; 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 l11si3539708pgq.12.2019.02.14.16.10.33; Thu, 14 Feb 2019 16:10:48 -0800 (PST) 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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=ieKkc0Mn; 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 S2404278AbfBNOws (ORCPT + 99 others); Thu, 14 Feb 2019 09:52:48 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37818 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439459AbfBNOwq (ORCPT ); Thu, 14 Feb 2019 09:52:46 -0500 Received: by mail-wm1-f68.google.com with SMTP id x10so6327191wmg.2 for ; Thu, 14 Feb 2019 06:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQpTYNOFF/xBKJ0FliQbJ6ZdH9bqB2OMp9FtFZp2/A0=; b=ieKkc0Mnxet5iCwBWminNdy4Nn2hXtoOzFqjEhIH6Thmpw6l+nRcAhLWaKI29CIaaa ObznPZ0b7EN6P/s4jleBeLumohVMhD/BJPZCZkiHgDlImKFV0HDiRtsbmYY2BLv3P6L/ FcZfI+SFmFLdErUC6BMyzoqMEZftoiN2s0ZTAdjp1YNTMWcbuzzDymfOI8TOADyUwWfb l8+TsW8kN2nJM8EaJKTEqWyuesuEsc6V5ITpXpVhimjIIMo9s974Rq5IZ1by7DCBTxxn gx3YxySGFe+6SXE2GqyvC30bLv1dDidXqrzc+zyL3wm6CuXqtLuSO3f0RuFcjWm96vI5 PwQg== 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=FQpTYNOFF/xBKJ0FliQbJ6ZdH9bqB2OMp9FtFZp2/A0=; b=EGM4d8SKFCfViWgNwCcVav53v8oQFjSSYUlk7epxKwBdB+H9jhjG6QNtyigHw5F/tD XHh4j4VySRt+TArOFCTxEGnA8J3gvyqvB9+adGqhOuitilkj9JOxNugORGkgdWSxqgUy qpCOSaltpgiDxrbMXy4pn/jFp3lTN8CCW1PTL8etlDqH9eTE/pYdpvuxMa0AwXovZdit GI0YYdzTddt93KLJWGIaX4gXJ08jrKNS7eFBObOAxWb+K3aX1uGbEgK+6hDT0bO7+SnV zfuwikSSMGb/JGZSs8zOf5VJOJRWqMNNQH0HAoY34mxb+78wfKt17OkYy8Rc/+D6Hg/V ov0Q== X-Gm-Message-State: AHQUAuaHf8EHmMjzagJke2Tgdh38W3nR9+5o6txb4t18f1QLU75Xkzo0 71fX9OAKYKZQ0QRLrPCJsygzA1g+S1E= X-Received: by 2002:a7b:cf3a:: with SMTP id m26mr996937wmg.144.1550155964651; Thu, 14 Feb 2019 06:52:44 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id y20sm4181005wra.51.2019.02.14.06.52.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:52:43 -0800 (PST) From: Bartosz Golaszewski To: Dmitry Torokhov , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 02/37] ARM: davinci: remove intc_host_map from davinci_soc_info struct Date: Thu, 14 Feb 2019 15:51:56 +0100 Message-Id: <20190214145231.8750-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214145231.8750-1-brgl@bgdev.pl> References: <20190214145231.8750-1-brgl@bgdev.pl> 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 From: Bartosz Golaszewski The intc_host_map field in struct davinci_soc_info is not used by any board. Remove it as part of the interrupt support cleanup. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/cp_intc.c | 5 ----- arch/arm/mach-davinci/include/mach/common.h | 1 - 2 files changed, 6 deletions(-) diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c index 94085d21018e..67805ca74ff8 100644 --- a/arch/arm/mach-davinci/cp_intc.c +++ b/arch/arm/mach-davinci/cp_intc.c @@ -117,7 +117,6 @@ int __init cp_intc_of_init(struct device_node *node, struct device_node *parent) { u32 num_irq = davinci_soc_info.intc_irq_num; u8 *irq_prio = davinci_soc_info.intc_irq_prios; - u32 *host_map = davinci_soc_info.intc_host_map; unsigned num_reg = BITS_TO_LONGS(num_irq); int i, irq_base; @@ -182,10 +181,6 @@ int __init cp_intc_of_init(struct device_node *node, struct device_node *parent) cp_intc_write(0x0f0f0f0f, CP_INTC_CHAN_MAP(i)); } - if (host_map) - for (i = 0; host_map[i] != -1; i++) - cp_intc_write(host_map[i], CP_INTC_HOST_MAP(i)); - irq_base = irq_alloc_descs(-1, 0, num_irq, 0); if (irq_base < 0) { pr_warn("Couldn't allocate IRQ numbers\n"); diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h index b577e13a9c23..944afd57ee38 100644 --- a/arch/arm/mach-davinci/include/mach/common.h +++ b/arch/arm/mach-davinci/include/mach/common.h @@ -61,7 +61,6 @@ struct davinci_soc_info { int intc_type; u8 *intc_irq_prios; unsigned long intc_irq_num; - u32 *intc_host_map; struct davinci_timer_info *timer_info; int gpio_type; u32 gpio_base; -- 2.20.1