Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2529610imj; Mon, 11 Feb 2019 04:30:38 -0800 (PST) X-Google-Smtp-Source: AHgI3IY/S7kqaje5CbsM93kB/8geksNg8T/SZNyVr+L4zzo4JIhiXvinpIkn8mYUunmkjmF2J4mA X-Received: by 2002:a63:a80c:: with SMTP id o12mr15716096pgf.185.1549888238793; Mon, 11 Feb 2019 04:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549888238; cv=none; d=google.com; s=arc-20160816; b=hThZ+9v4Le5FKNJ+lg7NBHt4oK7cy434viwZHCWdwG+hsTZepEBVCm0WjIshGjST6d lnR8Y2/0B+G6pMi9mYrBi/QOs12j03UaDkJv7/jlpIIbhKC9h8aFd+PAxtvWEHd78RSv 9rI3gOBLZinEhGS0ryalKSRFvVg6JOkUR4MbeeSwFLAHyV7h9AiXofnGbGHQesxQmGJ4 WDn0lgXynHpoZo5U0kJtGFncY9B/nk2/OPIaJZPgwbAMAhd7KcjfNaWFJ9jbBx6PXBNI it7fBUg2HMXnvFSvwkXIT24WCSN8DNa9H8ucLkJ/TOqm//d1P6KDEGrc0YkdaX8fUluH zWsw== 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=ztU/vOQJryJoLs7FjUuM1BI6qNLGh9+6vP2Webcy9q73laVrKCJRWAkfEZwzOxAJCw r4MNC+T+/W5b9fSf6cQrQKPf4wuuvxu0FqvwjxUK3X48ZIbs0jauIo6bI1qVnFFfljPg V8BoA0BTK3zgWPRv71iK+h5YgQ5SKZDxHahopnCJR7SAfM8gYkHW2L1394IN3friJO6N ANJ0Br5CQTzPqUsUAnbjZ45t74v8jGuyoWU6TfsQEUoW996QZUsZMz6rikb0sttG7OFU KqMmWAK3Di5ZD4zB8N/K50BlI9NaGlK7jeCQ5kDCvSnZm5o/Mmknx4a8ABvpKTAss0q3 iS5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=BFVLyWtE; 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 v25si1156536pfg.135.2019.02.11.04.30.22; Mon, 11 Feb 2019 04:30:38 -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=BFVLyWtE; 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 S1727486AbfBKM0S (ORCPT + 99 others); Mon, 11 Feb 2019 07:26:18 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53473 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727197AbfBKM0R (ORCPT ); Mon, 11 Feb 2019 07:26:17 -0500 Received: by mail-wm1-f67.google.com with SMTP id d15so17498035wmb.3 for ; Mon, 11 Feb 2019 04:26:15 -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=BFVLyWtEcq3eYr+UveOpnwt303iKNYCSo0ye2M7eD7Yq1k8CGzjLZhHDhVurnWT22/ UOFx8iul2pzQWy8e0R4O/gYu+YlAqKoNgvBHDA+US0tCk6sVfC71J5O03Qztv37b/iMN mQYCqXTStM9DKBTrUmZGEgLsBbZF9wwUXseXWKvqAzyJtpCVRj/enIJczCUINHShdC32 hvgqjB17gJzdMpVORlyehifzHJci24srzGIM6Q6Ew80v9BanmdfzK6GQ1eeASSWi8o9q K0CMjuOMG8XZosP3FXc+pxGj4AvgC6I6Vp9bwmgseQEDTPIzOXkz7l3jWRxZduVi0fJd LG9g== 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=FXPLDtcK5Ge/CRMio1SocrQ6ab8mfuP9sgPM80n4v3lIxT0HJ35xTzsYY5XYQQICXH wD/rLxs27FTWh038iWv+fAlkGITaf9CX4mbqgYS8HbhySj9cBYtn1rLWF+OUqmVlo4w+ ICZhaooo/1Uzy1v2l/W3RCwGb18kM3QaJIDMwbwNcHxUNxdpYEzXmn4vcVS9zqqRLtQP O5BrlQq7R8duH4PhMFBy8S/cRJCvROpJs+C0fvs0+4LNwK2u7GD8BRckIaD4q7Sl/iES r8gmGfNUN5CE4jEoZ3L1sDR4/voumgoK7+aO3lR4O+zWnMcL1k6gfP7ZfCRSk44QLgHK JFuA== X-Gm-Message-State: AHQUAuZMJSixrw3/yZElmqo1jF6Uy4HB0jMOxVx3YNcs95A/v0ItYAjr aXph5wYGI1kgxB4L27hLwmOX5g== X-Received: by 2002:a1c:7a18:: with SMTP id v24mr8767751wmc.107.1549887974861; Mon, 11 Feb 2019 04:26:14 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l20sm19494321wrb.93.2019.02.11.04.26.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:14 -0800 (PST) From: Bartosz Golaszewski To: 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: [RESEND PATCH v2 01/33] ARM: davinci: remove intc_host_map from davinci_soc_info struct Date: Mon, 11 Feb 2019 13:25:34 +0100 Message-Id: <20190211122606.8662-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211122606.8662-1-brgl@bgdev.pl> References: <20190211122606.8662-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