[PATCH 060/114] drivers: pci: Kconfig: pedantic formatting

From: Enrico Weigelt, metux IT consult
Date: Mon Mar 11 2019 - 09:25:30 EST


Formatting of Kconfig files doesn't look so pretty, so let the
Great White Handkerchief come around and clean it up.

Signed-off-by: Enrico Weigelt, metux IT consult <info@xxxxxxxxx>
---
drivers/pci/Kconfig | 40 +++++++++++++++++-----------------
drivers/pci/controller/Kconfig | 14 ++++++------
drivers/pci/controller/dwc/Kconfig | 6 ++---
drivers/pci/endpoint/Kconfig | 20 ++++++++---------
drivers/pci/endpoint/functions/Kconfig | 6 ++---
drivers/pci/hotplug/Kconfig | 2 +-
drivers/pci/switch/Kconfig | 10 ++++-----
7 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 2ab9240..cf27052 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -40,16 +40,16 @@ config PCI_MSI
bool "Message Signaled Interrupts (MSI and MSI-X)"
select GENERIC_MSI_IRQ
help
- This allows device drivers to enable MSI (Message Signaled
- Interrupts). Message Signaled Interrupts enable a device to
- generate an interrupt using an inbound Memory Write on its
- PCI bus instead of asserting a device IRQ pin.
+ This allows device drivers to enable MSI (Message Signaled
+ Interrupts). Message Signaled Interrupts enable a device to
+ generate an interrupt using an inbound Memory Write on its
+ PCI bus instead of asserting a device IRQ pin.

- Use of PCI MSI interrupts can be disabled at kernel boot time
- by using the 'pci=nomsi' option. This disables MSI for the
- entire system.
+ Use of PCI MSI interrupts can be disabled at kernel boot time
+ by using the 'pci=nomsi' option. This disables MSI for the
+ entire system.

- If you don't know what to do here, say Y.
+ If you don't know what to do here, say Y.

config PCI_MSI_IRQ_DOMAIN
def_bool ARC || ARM || ARM64 || X86
@@ -106,14 +106,14 @@ config PCI_PF_STUB
When in doubt, say N.

config XEN_PCIDEV_FRONTEND
- tristate "Xen PCI Frontend"
- depends on X86 && XEN
- select PCI_XEN
+ tristate "Xen PCI Frontend"
+ depends on X86 && XEN
+ select PCI_XEN
select XEN_XENBUS_FRONTEND
- default y
- help
- The PCI device frontend driver allows the kernel to import arbitrary
- PCI devices from a PCI backend to support PCI driver domains.
+ default y
+ help
+ The PCI device frontend driver allows the kernel to import arbitrary
+ PCI devices from a PCI backend to support PCI driver domains.

config PCI_ATS
bool
@@ -180,11 +180,11 @@ config PCI_LABEL
select NLS

config PCI_HYPERV
- tristate "Hyper-V PCI Frontend"
- depends on X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
- help
- The PCI device frontend driver allows the kernel to import arbitrary
- PCI devices from a PCI backend to support PCI driver domains.
+ tristate "Hyper-V PCI Frontend"
+ depends on X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
+ help
+ The PCI device frontend driver allows the kernel to import arbitrary
+ PCI devices from a PCI backend to support PCI driver domains.

source "drivers/pci/hotplug/Kconfig"
source "drivers/pci/controller/Kconfig"
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 6012f30..cf262b8 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -18,9 +18,9 @@ config PCI_AARDVARK
depends on PCI_MSI_IRQ_DOMAIN
select PCI_BRIDGE_EMUL
help
- Add support for Aardvark 64bit PCIe Host Controller. This
- controller is part of the South Bridge of the Marvel Armada
- 3700 SoC.
+ Add support for Aardvark 64bit PCIe Host Controller. This
+ controller is part of the South Bridge of the Marvel Armada
+ 3700 SoC.

menu "Cadence PCIe controllers support"

@@ -55,10 +55,10 @@ config PCIE_XILINX_NWL
depends on ARCH_ZYNQMP || COMPILE_TEST
depends on PCI_MSI_IRQ_DOMAIN
help
- Say 'Y' here if you want kernel support for Xilinx
- NWL PCIe controller. The controller can act as Root Port
- or End Point. The current option selection will only
- support root port enabling.
+ Say 'Y' here if you want kernel support for Xilinx
+ NWL PCIe controller. The controller can act as Root Port
+ or End Point. The current option selection will only
+ support root port enabling.

config PCI_FTPCI100
bool "Faraday Technology FTPCI100 PCI controller"
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 6ea74b1..5312377 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -7,9 +7,9 @@ config PCIE_DW
bool

config PCIE_DW_HOST
- bool
+ bool
depends on PCI_MSI_IRQ_DOMAIN
- select PCIE_DW
+ select PCIE_DW

config PCIE_DW_EP
bool
@@ -191,7 +191,7 @@ config PCIE_HISI_STB
depends on PCI_MSI_IRQ_DOMAIN
select PCIE_DW_HOST
help
- Say Y here if you want PCIe controller support on HiSilicon STB SoCs
+ Say Y here if you want PCIe controller support on HiSilicon STB SoCs

config PCI_MESON
bool "MESON PCIe controller"
diff --git a/drivers/pci/endpoint/Kconfig b/drivers/pci/endpoint/Kconfig
index 17bbdc9..5cd41e8 100644
--- a/drivers/pci/endpoint/Kconfig
+++ b/drivers/pci/endpoint/Kconfig
@@ -9,24 +9,24 @@ config PCI_ENDPOINT
bool "PCI Endpoint Support"
depends on HAVE_PCI
help
- Enable this configuration option to support configurable PCI
- endpoint. This should be enabled if the platform has a PCI
- controller that can operate in endpoint mode.
+ Enable this configuration option to support configurable PCI
+ endpoint. This should be enabled if the platform has a PCI
+ controller that can operate in endpoint mode.

- Enabling this option will build the endpoint library, which
- includes endpoint controller library and endpoint function
- library.
+ Enabling this option will build the endpoint library, which
+ includes endpoint controller library and endpoint function
+ library.

- If in doubt, say "N" to disable Endpoint support.
+ If in doubt, say "N" to disable Endpoint support.

config PCI_ENDPOINT_CONFIGFS
bool "PCI Endpoint Configfs Support"
depends on PCI_ENDPOINT
select CONFIGFS_FS
help
- This will enable the configfs entry that can be used to
- configure the endpoint function and used to bind the
- function with a endpoint controller.
+ This will enable the configfs entry that can be used to
+ configure the endpoint function and used to bind the
+ function with a endpoint controller.

source "drivers/pci/endpoint/functions/Kconfig"

diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig
index 8820d0f..5038da7 100644
--- a/drivers/pci/endpoint/functions/Kconfig
+++ b/drivers/pci/endpoint/functions/Kconfig
@@ -8,7 +8,7 @@ config PCI_EPF_TEST
depends on PCI_ENDPOINT
select CRC32
help
- Enable this configuration option to enable the test driver
- for PCI Endpoint.
+ Enable this configuration option to enable the test driver
+ for PCI Endpoint.

- If in doubt, say "N" to disable Endpoint test driver.
+ If in doubt, say "N" to disable Endpoint test driver.
diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
index e9f78eb..dad20d8 100644
--- a/drivers/pci/hotplug/Kconfig
+++ b/drivers/pci/hotplug/Kconfig
@@ -83,7 +83,7 @@ config HOTPLUG_PCI_CPCI_ZT5550
depends on HOTPLUG_PCI_CPCI && X86
help
Say Y here if you have an Performance Technologies (formerly Intel,
- formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
+ formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.

To compile this driver as a module, choose M here: the
module will be called cpcihp_zt5550.
diff --git a/drivers/pci/switch/Kconfig b/drivers/pci/switch/Kconfig
index aee28a5..6d1d3a6 100644
--- a/drivers/pci/switch/Kconfig
+++ b/drivers/pci/switch/Kconfig
@@ -6,10 +6,10 @@ menu "PCI switch controller drivers"
config PCI_SW_SWITCHTEC
tristate "MicroSemi Switchtec PCIe Switch Management Driver"
help
- Enables support for the management interface for the MicroSemi
- Switchtec series of PCIe switches. Supports userspace access
- to submit MRPC commands to the switch via /dev/switchtecX
- devices. See <file:Documentation/switchtec.txt> for more
- information.
+ Enables support for the management interface for the MicroSemi
+ Switchtec series of PCIe switches. Supports userspace access
+ to submit MRPC commands to the switch via /dev/switchtecX
+ devices. See <file:Documentation/switchtec.txt> for more
+ information.

endmenu
--
1.9.1