[PATCH] arch: sh: Kconfig: pedantic cleanups

From: Enrico Weigelt, metux IT consult
Date: Wed Mar 06 2019 - 15:46:26 EST


Signed-off-by: Enrico Weigelt, metux IT consult <info@xxxxxxxxx>
---
arch/sh/Kconfig | 24 ++++++++++++------------
arch/sh/boards/Kconfig | 10 +++++-----
arch/sh/mm/Kconfig | 6 +++---
3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index d9a9144..e58a470 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -233,9 +233,9 @@ config ARCH_SHMOBILE
select PM

config CPU_HAS_PMU
- depends on CPU_SH4 || CPU_SH4A
- default y
- bool
+ depends on CPU_SH4 || CPU_SH4A
+ default y
+ bool

if SUPERH32

@@ -266,7 +266,7 @@ config CPU_SUBTYPE_SH7201
select CPU_SH2A
select CPU_HAS_FPU
select SYS_SUPPORTS_SH_MTU2
-
+
config CPU_SUBTYPE_SH7203
bool "Support SH7203 processor"
select CPU_SH2A
@@ -549,7 +549,7 @@ endchoice
endif

source "arch/sh/mm/Kconfig"
-
+
source "arch/sh/Kconfig.cpu"

source "arch/sh/boards/Kconfig"
@@ -716,7 +716,7 @@ config GUSA
This is the default implementation for both UP and non-ll/sc
CPUs, and is used by the libc, amongst others.

- For additional information, design information can be found
+ For additional information, design information can be found
in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.

This should only be disabled for special cases where alternate
@@ -848,12 +848,12 @@ config MAPLE
bool "Maple Bus support"
depends on SH_DREAMCAST
help
- The Maple Bus is SEGA's serial communication bus for peripherals
- on the Dreamcast. Without this bus support you won't be able to
- get your Dreamcast keyboard etc to work, so most users
- probably want to say 'Y' here, unless you are only using the
- Dreamcast with a serial line terminal or a remote network
- connection.
+ The Maple Bus is SEGA's serial communication bus for peripherals
+ on the Dreamcast. Without this bus support you won't be able to
+ get your Dreamcast keyboard etc to work, so most users
+ probably want to say 'Y' here, unless you are only using the
+ Dreamcast with a serial line terminal or a remote network
+ connection.

endmenu

diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index b9a3705..a9dc96f 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -39,7 +39,7 @@ config SH_SOLUTION_ENGINE
select CPU_HAS_IPR_IRQ
depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
- CPU_SUBTYPE_SH7750R
+ CPU_SUBTYPE_SH7750R
help
Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
@@ -97,7 +97,7 @@ config SH_7751_SOLUTION_ENGINE
help
Select 7751 SolutionEngine if configuring for a Hitachi SH7751
evaluation board.
-
+
config SH_7780_SOLUTION_ENGINE
bool "SolutionEngine7780"
select SOLUTION_ENGINE
@@ -170,8 +170,8 @@ config SH_RSK
CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269
select REGULATOR_FIXED_VOLTAGE if REGULATOR
help
- Select this option if configuring for any of the RSK+ MCU
- evaluation platforms.
+ Select this option if configuring for any of the RSK+ MCU
+ evaluation platforms.

config SH_SDK7780
bool "SDK7780R3"
@@ -239,7 +239,7 @@ config SH_MIGOR
select REGULATOR_FIXED_VOLTAGE if REGULATOR
help
Select Migo-R if configuring for the SH7722 Migo-R platform
- by Renesas System Solutions Asia Pte. Ltd.
+ by Renesas System Solutions Asia Pte. Ltd.

config SH_AP325RXA
bool "AP-325RXA"
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 02ed2df..134ca45 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -5,7 +5,7 @@ config QUICKLIST
def_bool y

config MMU
- bool "Support for memory management hardware"
+ bool "Support for memory management hardware"
depends on !CPU_SH2
default y
help
@@ -154,8 +154,8 @@ config ARCH_MEMORY_PROBE
depends on MEMORY_HOTPLUG

config IOREMAP_FIXED
- def_bool y
- depends on X2TLB || SUPERH64
+ def_bool y
+ depends on X2TLB || SUPERH64

config UNCACHED_MAPPING
bool
--
1.9.1