[PATCH 6/6] FRV-setup: Move statements for "case" to separate lines

From: SF Markus Elfring
Date: Fri Oct 21 2016 - 01:12:09 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Oct 2016 22:33:56 +0200

The script "checkpatch.pl" pointed information out like the following.

ERROR: trailing statements should be on next line

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
---
arch/frv/kernel/setup.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c
index 9a44cbe..df44dbd 100644
--- a/arch/frv/kernel/setup.c
+++ b/arch/frv/kernel/setup.c
@@ -474,8 +474,12 @@ static void __init determine_cpu(void)
pdm_suspend_mode = HSR0_PDM_PLL_STOP;

switch (PSR_VERSION(psr)) {
- case PSR_VERSION_FR501_MB93501: cpu_silicon = "mb93501"; break;
- case PSR_VERSION_FR501_MB93501A: cpu_silicon = "mb93501/A"; break;
+ case PSR_VERSION_FR501_MB93501:
+ cpu_silicon = "mb93501";
+ break;
+ case PSR_VERSION_FR501_MB93501A:
+ cpu_silicon = "mb93501/A";
+ break;
default:
break;
}
--
2.10.1