mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip: remove redundant config PCI dependency for config LS_SCFG_MSI
@ 2023-01-11 10:05 Lukas Bulwahn
  2023-02-05 11:29 ` [irqchip: irq/irqchip-next] irqchip/ls-scfg-msi: Simplify Kconfig dependencies irqchip-bot for Lukas Bulwahn
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2023-01-11 10:05 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier
  Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

While reviewing dependencies in some Kconfig files, I noticed the redundant
dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always,
since its introduction, been dependent on the config PCI. So, it is
sufficient to just depend on PCI_MSI, and know that the dependency on PCI
is implicitly implied.

Reduce the dependencies of config LS_SCFG_MSI.
No functional change and effective change of Kconfig dependendencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index d79683154f7f..59bcce29b1a4 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -384,7 +384,7 @@ config LS_EXTIRQ
 
 config LS_SCFG_MSI
 	def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
-	depends on PCI && PCI_MSI
+	depends on PCI_MSI
 
 config PARTITION_PERCPU
 	bool
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [irqchip: irq/irqchip-next] irqchip/ls-scfg-msi: Simplify Kconfig dependencies
  2023-01-11 10:05 [PATCH] irqchip: remove redundant config PCI dependency for config LS_SCFG_MSI Lukas Bulwahn
@ 2023-02-05 11:29 ` irqchip-bot for Lukas Bulwahn
  0 siblings, 0 replies; 2+ messages in thread
From: irqchip-bot for Lukas Bulwahn @ 2023-02-05 11:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Lukas Bulwahn, Marc Zyngier, tglx

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     9c1a7bfc2993112cfb3056b18301fcafe5c2fde5
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/9c1a7bfc2993112cfb3056b18301fcafe5c2fde5
Author:        Lukas Bulwahn <lukas.bulwahn@gmail.com>
AuthorDate:    Wed, 11 Jan 2023 11:05:54 +01:00
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Sun, 05 Feb 2023 11:19:03 

irqchip/ls-scfg-msi: Simplify Kconfig dependencies

Having both PCI_MSI and PCI is redundant. Drop PCI.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
[maz: cut commit message extra verbosity]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230111100554.24500-1-lukas.bulwahn@gmail.com
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index caa952c..f3d88e9 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -389,7 +389,7 @@ config LS_EXTIRQ
 
 config LS_SCFG_MSI
 	def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
-	depends on PCI && PCI_MSI
+	depends on PCI_MSI
 
 config PARTITION_PERCPU
 	bool

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-05 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 10:05 [PATCH] irqchip: remove redundant config PCI dependency for config LS_SCFG_MSI Lukas Bulwahn
2023-02-05 11:29 ` [irqchip: irq/irqchip-next] irqchip/ls-scfg-msi: Simplify Kconfig dependencies irqchip-bot for Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®