Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp831317pxj; Thu, 20 May 2021 23:34:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfurqwCWbmw5Pj24s4CSSZ81g5oVw9/SYygc3SNVueKMTK/09907mIMOAcjshzaGjisAN1 X-Received: by 2002:aa7:c781:: with SMTP id n1mr9223238eds.108.1621578875599; Thu, 20 May 2021 23:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621578875; cv=none; d=google.com; s=arc-20160816; b=qT5BlyBSCII1cW+xMb2oZvhbj765LbKpRfjogavwAKod8qPk1+8EWkLBOwjmLci42E Wq4rBF9ze8aTjUGa6YGq2QgCPmEXBeKN/4K0LSf0D0JyXrfW3+C/5s3Z0fIVIvxZwvYZ u2FHxvntirMpQUfEbg9chdKVELXUEKeXQPdZAdS077lWT+u0x4ryHkoTFrhl3/IJ/vdd L67vRQ7vutLj9yRwmenRkjnh4p1StLjl35eo/uTVucHVt4bBka3pBfSsmEcgr8M7eehl dtwtAA4Q7+OhTmiI7NDGOUTPGmPAva8Iy0EkV8U4VglfEKXM57yM/fba9Tupa69o3hNT eCgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TLH+o6n+gkwnkoy0UR8A0ZCNuN9AvNQymfnYey+wMbE=; b=Sx/+mmUZ5wBZ6Z3QeemJab0RorZU0OMF8z+qh0kvNeGIWCvwkjkHFhAn60oxMeFd8m OkmnrUyljLbQVfrPkLBHuYLSGbD02EIa7bcjjHiga+6mQjgr4oNsavsgivV6p0J99sM7 E48WPCvmXaEcxfQAqLvFb3yGQw1rifofEZIKQzU7w1QexMCH0efU8UcXCgmbg6A4E1zm RkaPeBpGF661QGVCLZdyzCKvvfuK6tVW5jiYr6N3IyC5V/vebP90y4cL+vLkS4HQSMng oZX8h/RXv/vYxV4MUtoSNxglpiVP/vEKBtN9p4P0Qp/8xWE97DYn6q8KzmPaiWCTEADk uG1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si2737938edi.18.2021.05.20.23.34.13; Thu, 20 May 2021 23:34:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235165AbhETRAi (ORCPT + 99 others); Thu, 20 May 2021 13:00:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:57494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238845AbhETQ7W (ORCPT ); Thu, 20 May 2021 12:59:22 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E3C261353; Thu, 20 May 2021 16:58:00 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ljlgX-002d7b-IV; Thu, 20 May 2021 17:38:10 +0100 From: Marc Zyngier To: linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Ley Foon Tan , Chris Zankel , Max Filippov , Vineet Gupta , Thomas Bogendoerfer , Robert Jarzmik , Russell King , Krzysztof Kozlowski , Yoshinori Sato , Rich Felker , Geert Uytterhoeven , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Rob Clark , Linus Walleij , Lee Jones , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Bartosz Golaszewski , kernel-team@android.com Subject: [PATCH 13/39] irqdomain: Kill irq_domain_add_legacy_isa Date: Thu, 20 May 2021 17:37:25 +0100 Message-Id: <20210520163751.27325-14-maz@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210520163751.27325-1-maz@kernel.org> References: <20210520163751.27325-1-maz@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, tglx@linutronix.de, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, ley.foon.tan@intel.com, chris@zankel.net, jcmvbkbc@gmail.com, vgupta@synopsys.com, tsbogend@alpha.franken.de, robert.jarzmik@free.fr, linux@armlinux.org.uk, krzysztof.kozlowski@canonical.com, ysato@users.sourceforge.jp, dalias@libc.org, geert@linux-m68k.org, alexander.deucher@amd.com, christian.koenig@amd.com, airlied@linux.ie, daniel@ffwll.ch, robdclark@gmail.com, linus.walleij@linaro.org, lee.jones@linaro.org, lorenzo.pieralisi@arm.com, robh@kernel.org, bhelgaas@google.com, bgolaszewski@baylibre.com, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This helper doesn't have a user anymore, let's remove it. Signed-off-by: Marc Zyngier --- Documentation/core-api/irq/irq-domain.rst | 1 - include/linux/irqdomain.h | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/Documentation/core-api/irq/irq-domain.rst b/Documentation/core-api/irq/irq-domain.rst index 8214e215a8bf..53283b3729a1 100644 --- a/Documentation/core-api/irq/irq-domain.rst +++ b/Documentation/core-api/irq/irq-domain.rst @@ -146,7 +146,6 @@ Legacy irq_domain_add_simple() irq_domain_add_legacy() - irq_domain_add_legacy_isa() irq_domain_create_simple() irq_domain_create_legacy() diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 62a8e3d23829..9f884c948739 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -45,9 +45,6 @@ struct cpumask; struct seq_file; struct irq_affinity_desc; -/* Number of irqs reserved for a legacy isa controller */ -#define NUM_ISA_INTERRUPTS 16 - #define IRQ_DOMAIN_IRQ_SPEC_PARAMS 16 /** @@ -355,14 +352,6 @@ static inline struct irq_domain *irq_domain_add_nomap(struct device_node *of_nod { return __irq_domain_add(of_node_to_fwnode(of_node), 0, max_irq, max_irq, ops, host_data); } -static inline struct irq_domain *irq_domain_add_legacy_isa( - struct device_node *of_node, - const struct irq_domain_ops *ops, - void *host_data) -{ - return irq_domain_add_legacy(of_node, NUM_ISA_INTERRUPTS, 0, 0, ops, - host_data); -} static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node, const struct irq_domain_ops *ops, void *host_data) -- 2.30.2