Commit 27899825 authored by Marek Vasut's avatar Marek Vasut
Browse files

rcar_gen3: drivers: pfc: Checkpatch cleanup



Checkpatch cleanups of the PFC common init code macros.
No functional change.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: Ifa444dd506387dba92b550729e56598198faeb49
parent 2e05b087
...@@ -51,16 +51,19 @@ ...@@ -51,16 +51,19 @@
#define PRR_PRODUCT_11 (0x01U) #define PRR_PRODUCT_11 (0x01U)
#define PRR_PRODUCT_20 (0x10U) #define PRR_PRODUCT_20 (0x10U)
#define PRR_PRODUCT_ERR(reg) do{\ #define PRR_PRODUCT_ERR(reg) \
ERROR("LSI Product ID(PRR=0x%x) PFC "\ do { \
"initialize not supported.\n",reg);\ ERROR("LSI Product ID(PRR=0x%x) PFC initialize not supported.\n", \
panic();\ reg); \
}while(0) panic(); \
#define PRR_CUT_ERR(reg) do{\ } while (0)
ERROR("LSI Cut ID(PRR=0x%x) PFC "\
"initialize not supported.\n",reg);\ #define PRR_CUT_ERR(reg) \
panic();\ do { \
}while(0) ERROR("LSI Cut ID(PRR=0x%x) PFC initialize not supported.\n", \
reg); \
panic();\
} while (0)
void rcar_pfc_init(void) void rcar_pfc_init(void)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment