rcar_gen3: drivers: pfc: Checkpatch cleanup
authorMarek Vasut <[email protected]>
Mon, 17 Jun 2019 17:28:12 +0000 (19:28 +0200)
committerMarek Vasut <[email protected]>
Sat, 22 Jun 2019 15:33:09 +0000 (17:33 +0200)
Checkpatch cleanups of the PFC common init code macros.
No functional change.

Signed-off-by: Marek Vasut <[email protected]>
Change-Id: Ifa444dd506387dba92b550729e56598198faeb49

drivers/staging/renesas/rcar/pfc/pfc_init.c

index 3cf32d43ba0d9c7cf33bfc9ed5dfc0c7ceeef403..e9455af51cd154c792fcee1581f0885ae4d465c2 100644 (file)
 #define PRR_PRODUCT_11         (0x01U)
 #define PRR_PRODUCT_20         (0x10U)
 
-#define PRR_PRODUCT_ERR(reg)   do{\
-                               ERROR("LSI Product ID(PRR=0x%x) PFC "\
-                               "initialize not supported.\n",reg);\
-                               panic();\
-                               }while(0)
-#define PRR_CUT_ERR(reg)       do{\
-                               ERROR("LSI Cut ID(PRR=0x%x) PFC "\
-                               "initialize not supported.\n",reg);\
-                               panic();\
-                               }while(0)
+#define PRR_PRODUCT_ERR(reg)                           \
+       do {                                            \
+               ERROR("LSI Product ID(PRR=0x%x) PFC initialize not supported.\n", \
+                       reg);                           \
+               panic();                                \
+       } while (0)
+
+#define PRR_CUT_ERR(reg)                               \
+       do {                                            \
+               ERROR("LSI Cut ID(PRR=0x%x) PFC initialize not supported.\n", \
+                       reg);                           \
+               panic();\
+       } while (0)
 
 void rcar_pfc_init(void)
 {