Message ID | 20221025185147.665365-1-helgaas@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1165646wru; Tue, 25 Oct 2022 11:59:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7lp+Uoh/yhyY+QXLeTnrA0e+F8GIKZLXcj8JjieegPP1zNyvp9bzRrl/Q65hnK0ySkgErR X-Received: by 2002:a17:903:2c9:b0:182:c500:d93d with SMTP id s9-20020a17090302c900b00182c500d93dmr40994881plk.44.1666724370849; Tue, 25 Oct 2022 11:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724370; cv=none; d=google.com; s=arc-20160816; b=fefMZv7CEx5Z/YaQmQm/fsQenAV7SjiBFvDhP/HIUfTYE3wTygh/hEManj9hE/TTQA lyLDTUH+J+28ocFkWXEssQRZXP+o1BO4iVXCVwG89k+gvY9Nj6t3aC8vS/cWbV95saPh IXkutAd+S1orRkQ6D7WUL3CZ69gZweI789v+J0oL8Hkw9uYfATMeC/Xk2Ukz+ZRXHP2E 346h+Sbp0juhHCkJvOoxMY1j22EriGaeuPDZ7WXDeBt1mhGwqJqOM4CAYQ79JIRZLD5u WhP/nMolGUfaxeBFJD+NnlF2ccMXG4RPSR+XF01MgaGu96zXzmkIoXEJmQ0/M/XltnYE A39g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=/SqZ1q1UGOBHyWn9ehlAfnRVkjz2AVmH1mh2944uTNw=; b=Czm6gIgEmGBvdJ/R5oIfehJ01gFkuWtvJLSs3t+9zDZ2+9QCd1zESI1O/MQA0ya8AP N8b3+X0zqgyHxtwNl+WBr29ck66w6nbnYf7/rRaSTg0Vwr93XNKfMMUE/Eq+sGN3VA4U vxIuifB71HqsF+C5FBhR8LgwVARmrs0BrBOkBhJPNVDqblj+AGATSyLRA4LyEmbjysJX IbQewj2F9nltywGbrfKedJRC1SjRVV5fE3l5ATKYJi8JMgHGo95RyHdzrRM9USC+NY5Z rX2gfYFmPkR6i03uIdzvP22MELLX2cKhDx6BWtSfiLZTioWtL3zJjeNlw/71WQs1///E so4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="lXeX/X72"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u4-20020a63f644000000b0045fd05b2ce8si3934066pgj.239.2022.10.25.11.59.15; Tue, 25 Oct 2022 11:59:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="lXeX/X72"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231869AbiJYSv7 (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 14:51:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232359AbiJYSv5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 14:51:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B64511876D; Tue, 25 Oct 2022 11:51:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F2D8AB81E81; Tue, 25 Oct 2022 18:51:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BBA9C433D6; Tue, 25 Oct 2022 18:51:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723913; bh=sbHHHHik1ots3ugg9bWS1aJ74WP1MU5+FlwWTqdu/Ic=; h=From:To:Cc:Subject:Date:From; b=lXeX/X72neXmJl7dxIPdLhMBZaIRV+QjRLeYOxd3IpR9dHMztEdyHCFsbemC+gf0c vLbToENare7yvqy/PTS6N/+zOqcxiTJyiuaOhhBFHZyPHWrfTOlyfxcYjam0opx+CW 0bdI8NX8dYCIibHoXynU8oMsSr/pDu3Jvz+V3waE6x+/tijZCg0do5RyR8HMGxc4rv 1baPQXAGZu0nU+uhDcrdYTrwLvlk82MpWyFD1ukLMrmGLCmhfJjiXML0rAky3rtpAI RTFwGGJNP8D7U13bX6/0IwViYbwezcAFbjx0Uzc6c3YYRUIkx2amVjpQkw7a1h9i28 lf+zoKvu4kyfg== From: Bjorn Helgaas <helgaas@kernel.org> To: Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: Kishon Vijay Abraham I <kishon@kernel.org>, Tom Joseph <tjoseph@cadence.com>, Rob Herring <robh@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= <kw@linux.com>, Minghuan Lian <minghuan.Lian@nxp.com>, Mingkai Hu <mingkai.hu@nxp.com>, Roy Zang <roy.zang@nxp.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Linus Walleij <linus.walleij@linaro.org>, Toan Le <toan@os.amperecomputing.com>, Joyce Ooi <joyce.ooi@intel.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Conor Dooley <conor.dooley@microchip.com>, Daire McNamara <daire.mcnamara@microchip.com>, Shawn Lin <shawn.lin@rock-chips.com>, Heiko Stuebner <heiko@sntech.de>, Bharat Kumar Gogada <bharat.kumar.gogada@amd.com>, Michal Simek <michal.simek@amd.com>, bcm-kernel-feedback-list@broadcom.com, linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, Bjorn Helgaas <bhelgaas@google.com> Subject: [PATCH v2 0/4] PCI: Remove unnecessary <linux/of_irq.h> includes Date: Tue, 25 Oct 2022 13:51:43 -0500 Message-Id: <20221025185147.665365-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747687173600528801?= X-GMAIL-MSGID: =?utf-8?q?1747687173600528801?= |
Series |
PCI: Remove unnecessary <linux/of_irq.h> includes
|
|
Message
Bjorn Helgaas
Oct. 25, 2022, 6:51 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>
Many host controller drivers #include <linux/of_irq.h> even though they
don't need it. Remove the unnecessary #includes.
v1: https://lore.kernel.org/all/20221019195452.37606-1-helgaas@kernel.org/
Changes from v1 to v2:
- Include <linux/irqdomain.h> explicitly in altera-msi and microchip,
which don't need <linux/of_irq.h> itself, but relied on it to include
<linux/irqdomain.h>
- Include <linux/irqdomain.h> explicitly in mvebu, which needs both it
and <linux/of_irq.h>
Bjorn Helgaas (4):
PCI: altera-msi: Include <linux/irqdomain.h> explicitly
PCI: microchip: Include <linux/irqdomain.h> explicitly
PCI: mvebu: Include <linux/irqdomain.h> explicitly
PCI: Remove unnecessary <linux/of_irq.h> includes
drivers/pci/controller/cadence/pci-j721e.c | 1 -
drivers/pci/controller/dwc/pci-layerscape.c | 1 -
drivers/pci/controller/dwc/pcie-armada8k.c | 1 -
drivers/pci/controller/dwc/pcie-tegra194.c | 1 -
drivers/pci/controller/pci-mvebu.c | 1 +
drivers/pci/controller/pci-v3-semi.c | 1 -
drivers/pci/controller/pci-xgene-msi.c | 1 -
drivers/pci/controller/pci-xgene.c | 1 -
drivers/pci/controller/pcie-altera-msi.c | 2 +-
drivers/pci/controller/pcie-iproc-platform.c | 1 -
drivers/pci/controller/pcie-iproc.c | 1 -
drivers/pci/controller/pcie-microchip-host.c | 2 +-
drivers/pci/controller/pcie-rockchip-host.c | 1 -
drivers/pci/controller/pcie-xilinx-cpm.c | 1 -
drivers/pci/controller/pcie-xilinx-nwl.c | 1 -
15 files changed, 3 insertions(+), 14 deletions(-)
Comments
On Tue, Oct 25, 2022 at 01:51:43PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas <bhelgaas@google.com> > > Many host controller drivers #include <linux/of_irq.h> even though they > don't need it. Remove the unnecessary #includes. > > v1: https://lore.kernel.org/all/20221019195452.37606-1-helgaas@kernel.org/ > > Changes from v1 to v2: > - Include <linux/irqdomain.h> explicitly in altera-msi and microchip, > which don't need <linux/of_irq.h> itself, but relied on it to include > <linux/irqdomain.h> > - Include <linux/irqdomain.h> explicitly in mvebu, which needs both it > and <linux/of_irq.h> > > Bjorn Helgaas (4): > PCI: altera-msi: Include <linux/irqdomain.h> explicitly > PCI: microchip: Include <linux/irqdomain.h> explicitly > PCI: mvebu: Include <linux/irqdomain.h> explicitly > PCI: Remove unnecessary <linux/of_irq.h> includes > drivers/pci/controller/pcie-microchip-host.c | 2 +- Hey Bjorn, actually did the build this time rather than visually inspecting... For the microchip bits: Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks!