lkml.org 
[lkml]   [2019]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 053/114] drivers: pinctrl: Kconfig: pedantic formatting
    Date
    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@metux.net>
    ---
    drivers/pinctrl/Kconfig | 18 +++++-----
    drivers/pinctrl/freescale/Kconfig | 13 ++++---
    drivers/pinctrl/mvebu/Kconfig | 10 +++---
    drivers/pinctrl/qcom/Kconfig | 74 +++++++++++++++++++--------------------
    drivers/pinctrl/sh-pfc/Kconfig | 48 ++++++++++++-------------
    5 files changed, 81 insertions(+), 82 deletions(-)

    diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
    index 2764d71..886c149 100644
    --- a/drivers/pinctrl/Kconfig
    +++ b/drivers/pinctrl/Kconfig
    @@ -31,15 +31,15 @@ config DEBUG_PINCTRL
    Say Y here to add some extra checks and diagnostics to PINCTRL calls.

    config PINCTRL_ARTPEC6
    - bool "Axis ARTPEC-6 pin controller driver"
    - depends on MACH_ARTPEC6
    - select PINMUX
    - select GENERIC_PINCONF
    - help
    - This is the driver for the Axis ARTPEC-6 pin controller. This driver
    - supports pin function multiplexing as well as pin bias and drive
    - strength configuration. Device tree integration instructions can be
    - found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
    + bool "Axis ARTPEC-6 pin controller driver"
    + depends on MACH_ARTPEC6
    + select PINMUX
    + select GENERIC_PINCONF
    + help
    + This is the driver for the Axis ARTPEC-6 pin controller. This driver
    + supports pin function multiplexing as well as pin bias and drive
    + strength configuration. Device tree integration instructions can be
    + found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt

    config PINCTRL_AS3722
    tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
    diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
    index 72b869d..b87abb0 100644
    --- a/drivers/pinctrl/freescale/Kconfig
    +++ b/drivers/pinctrl/freescale/Kconfig
    @@ -36,14 +36,13 @@ config PINCTRL_IMX27
    help
    Say Y here to enable the imx27 pinctrl driver

    -
    config PINCTRL_IMX25
    - bool "IMX25 pinctrl driver"
    - depends on OF
    - depends on SOC_IMX25
    - select PINCTRL_IMX
    - help
    - Say Y here to enable the imx25 pinctrl driver
    + bool "IMX25 pinctrl driver"
    + depends on OF
    + depends on SOC_IMX25
    + select PINCTRL_IMX
    + help
    + Say Y here to enable the imx25 pinctrl driver

    config PINCTRL_IMX35
    bool "IMX35 pinctrl driver"
    diff --git a/drivers/pinctrl/mvebu/Kconfig b/drivers/pinctrl/mvebu/Kconfig
    index d9773b7..6eb69f2 100644
    --- a/drivers/pinctrl/mvebu/Kconfig
    +++ b/drivers/pinctrl/mvebu/Kconfig
    @@ -45,8 +45,8 @@ config PINCTRL_ORION
    select PINCTRL_MVEBU

    config PINCTRL_ARMADA_37XX
    - bool
    - select GENERIC_PINCONF
    - select MFD_SYSCON
    - select PINCONF
    - select PINMUX
    + bool
    + select GENERIC_PINCONF
    + select MFD_SYSCON
    + select PINCONF
    + select PINMUX
    diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
    index 2e66ab7..aac8f05 100644
    --- a/drivers/pinctrl/qcom/Kconfig
    +++ b/drivers/pinctrl/qcom/Kconfig
    @@ -131,48 +131,48 @@ config PINCTRL_QDF2XXX
    Qualcomm Technologies QDF2xxx SOCs.

    config PINCTRL_QCOM_SPMI_PMIC
    - tristate "Qualcomm SPMI PMIC pin controller driver"
    - depends on GPIOLIB && OF && SPMI
    - select REGMAP_SPMI
    - select PINMUX
    - select PINCONF
    - select GENERIC_PINCONF
    - select IRQ_DOMAIN_HIERARCHY
    - help
    - This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    - Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
    - which are using SPMI for communication with SoC. Example PMIC's
    - devices are pm8841, pm8941 and pma8084.
    + tristate "Qualcomm SPMI PMIC pin controller driver"
    + depends on GPIOLIB && OF && SPMI
    + select REGMAP_SPMI
    + select PINMUX
    + select PINCONF
    + select GENERIC_PINCONF
    + select IRQ_DOMAIN_HIERARCHY
    + help
    + This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    + Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
    + which are using SPMI for communication with SoC. Example PMIC's
    + devices are pm8841, pm8941 and pma8084.

    config PINCTRL_QCOM_SSBI_PMIC
    - tristate "Qualcomm SSBI PMIC pin controller driver"
    - depends on GPIOLIB && OF
    - select PINMUX
    - select PINCONF
    - select GENERIC_PINCONF
    - select IRQ_DOMAIN_HIERARCHY
    - help
    - This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    - Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
    - which are using SSBI for communication with SoC. Example PMIC's
    - devices are pm8058 and pm8921.
    + tristate "Qualcomm SSBI PMIC pin controller driver"
    + depends on GPIOLIB && OF
    + select PINMUX
    + select PINCONF
    + select GENERIC_PINCONF
    + select IRQ_DOMAIN_HIERARCHY
    + help
    + This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    + Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
    + which are using SSBI for communication with SoC. Example PMIC's
    + devices are pm8058 and pm8921.

    config PINCTRL_SDM660
    - tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
    - depends on GPIOLIB && OF
    - select PINCTRL_MSM
    - help
    - This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    - Qualcomm Technologies Inc TLMM block found on the Qualcomm
    - Technologies Inc SDM660 platform.
    + tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
    + depends on GPIOLIB && OF
    + select PINCTRL_MSM
    + help
    + This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    + Qualcomm Technologies Inc TLMM block found on the Qualcomm
    + Technologies Inc SDM660 platform.

    config PINCTRL_SDM845
    - tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
    - depends on GPIOLIB && OF
    - select PINCTRL_MSM
    - help
    - This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    - Qualcomm Technologies Inc TLMM block found on the Qualcomm
    - Technologies Inc SDM845 platform.
    + tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
    + depends on GPIOLIB && OF
    + select PINCTRL_MSM
    + help
    + This is the pinctrl, pinmux, pinconf and gpiolib driver for the
    + Qualcomm Technologies Inc TLMM block found on the Qualcomm
    + Technologies Inc SDM845 platform.

    endif
    diff --git a/drivers/pinctrl/sh-pfc/Kconfig b/drivers/pinctrl/sh-pfc/Kconfig
    index e941ba6..903b879 100644
    --- a/drivers/pinctrl/sh-pfc/Kconfig
    +++ b/drivers/pinctrl/sh-pfc/Kconfig
    @@ -46,24 +46,24 @@ config PINCTRL_PFC_R8A7744
    select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A7745
    - def_bool y
    - depends on ARCH_R8A7745
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A7745
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A77470
    - def_bool y
    - depends on ARCH_R8A77470
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A77470
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A774A1
    - def_bool y
    - depends on ARCH_R8A774A1
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A774A1
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A774C0
    - def_bool y
    - depends on ARCH_R8A774C0
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A774C0
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A7778
    def_bool y
    @@ -106,14 +106,14 @@ config PINCTRL_PFC_R8A7795
    select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A7796
    - def_bool y
    - depends on ARCH_R8A7796
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A7796
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A77965
    - def_bool y
    - depends on ARCH_R8A77965
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A77965
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A77970
    def_bool y
    @@ -126,14 +126,14 @@ config PINCTRL_PFC_R8A77980
    select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A77990
    - def_bool y
    - depends on ARCH_R8A77990
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A77990
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_R8A77995
    - def_bool y
    - depends on ARCH_R8A77995
    - select PINCTRL_SH_PFC
    + def_bool y
    + depends on ARCH_R8A77995
    + select PINCTRL_SH_PFC

    config PINCTRL_PFC_SH7203
    def_bool y
    --
    1.9.1
    \
     
     \ /
      Last update: 2019-03-11 14:26    [W:2.921 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site