]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
zorro: Remove extra whitespace in macro definitions
authorDishank Jogi <jogidishank503@gmail.com>
Mon, 28 Jul 2025 07:14:52 +0000 (07:14 +0000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 15 Sep 2025 12:30:17 +0000 (14:30 +0200)
Clean up the formatting of the MANUF() and PRODUCT() macro definitions
in 'drivers/zorro/names.c' by removing unneeded spaces.

No functional changes.

Signed-off-by: Dishank Jogi <jogidishank503@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20250728071452.35171-1-jogidishank503@gmail.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/zorro/names.c

index 077114ccc84073f63ce338b8e734ac334e27a2b7..b44f90989a66c5cbf612d98469f5fcfeaf95f7cc 100644 (file)
@@ -36,21 +36,21 @@ struct zorro_manuf_info {
  * real memory.. Parse the same file multiple times
  * to get all the info.
  */
-#define MANUF( manuf, name )           static char __manufstr_##manuf[] __initdata = name;
+#define MANUF(manuf, name)             static char __manufstr_##manuf[] __initdata = name;
 #define ENDMANUF()
-#define PRODUCT( manuf, prod, name )   static char __prodstr_##manuf##prod[] __initdata = name;
+#define PRODUCT(manuf, prod, name)     static char __prodstr_##manuf##prod[] __initdata = name;
 #include "devlist.h"
 
 
-#define MANUF( manuf, name )           static struct zorro_prod_info __prods_##manuf[] __initdata = {
+#define MANUF(manuf, name)             static struct zorro_prod_info __prods_##manuf[] __initdata = {
 #define ENDMANUF()                     };
-#define PRODUCT( manuf, prod, name )   { 0x##prod, 0, __prodstr_##manuf##prod },
+#define PRODUCT(manuf, prod, name)     { 0x##prod, 0, __prodstr_##manuf##prod },
 #include "devlist.h"
 
 static struct zorro_manuf_info __initdata zorro_manuf_list[] = {
-#define MANUF( manuf, name )           { 0x##manuf, ARRAY_SIZE(__prods_##manuf), __manufstr_##manuf, __prods_##manuf },
+#define MANUF(manuf, name)             { 0x##manuf, ARRAY_SIZE(__prods_##manuf), __manufstr_##manuf, __prods_##manuf },
 #define ENDMANUF()
-#define PRODUCT( manuf, prod, name )
+#define PRODUCT(manuf, prod, name)
 #include "devlist.h"
 };