mips: Fix spacing issue
authorFranziska Naepelt <franziska.naepelt@googlemail.com>
Tue, 30 May 2023 06:59:49 +0000 (08:59 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Jun 2023 07:49:59 +0000 (09:49 +0200)
Fix some indentation issues and remove the following checkpatch issue:
- ERROR: need consistent spacing around '-' (ctx:WxV)

Co-Developed-by: Ladislav Michl <oss-lists@triops.cz>
Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/sibyte/swarm/platform.c

index 484969d..339d77a 100644 (file)
@@ -88,15 +88,15 @@ device_initcall(swarm_pata_init);
 #define sb1250_dev_struct(num) \
        static struct resource sb1250_res##num = {              \
                .name = "SB1250 MAC " __stringify(num),         \
-               .flags = IORESOURCE_MEM,                \
-               .start = A_MAC_CHANNEL_BASE(num),       \
-               .end = A_MAC_CHANNEL_BASE(num + 1) -1,  \
+               .flags = IORESOURCE_MEM,                        \
+               .start = A_MAC_CHANNEL_BASE(num),               \
+               .end = A_MAC_CHANNEL_BASE(num + 1) - 1,         \
        };\
        static struct platform_device sb1250_dev##num = {       \
-               .name = "sb1250-mac",                   \
-       .id = num,                                      \
-       .resource = &sb1250_res##num,                   \
-       .num_resources = 1,                             \
+               .name = "sb1250-mac",                           \
+               .id = num,                                      \
+               .resource = &sb1250_res##num,                   \
+               .num_resources = 1,                             \
        }
 
 sb1250_dev_struct(0);