reset:starfive:jh7110: Macro definitions are rearranged in order.
authorsamin <samin.guo@starfivetech.com>
Tue, 19 Apr 2022 08:01:47 +0000 (16:01 +0800)
committersamin <samin.guo@starfivetech.com>
Tue, 19 Apr 2022 08:31:58 +0000 (16:31 +0800)
Macro definitions are rearranged in order, for better coding style.

Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/reset/starfive/reset-starfive-jh7110.c

index b699e04..7837087 100644 (file)
 #include <dt-bindings/reset/starfive-jh7110.h>
 
 /* register offsets */
+#define AONCRG_RESET_ASSERT    0x38
+#define ISPCRG_RESET_ASSERT    0x38
+#define VOUTCRG_RESET_ASSERT   0x48
+#define STGCRG_RESET_ASSERT    0x74
+#define AONCRG_RESET_STATUS    0x3C
+#define ISPCRG_RESET_STATUS    0x3C
+#define VOUTCRG_RESET_STATUS   0x4C
+#define STGCRG_RESET_STATUS    0x78
+
 #define SYSCRG_RESET_ASSERT0   0x2F8
 #define SYSCRG_RESET_ASSERT1   0x2FC
 #define SYSCRG_RESET_ASSERT2   0x300
 #define SYSCRG_RESET_STATUS2   0x310
 #define SYSCRG_RESET_STATUS3   0x314
 
-#define STGCRG_RESET_ASSERT    0x74
-#define STGCRG_RESET_STATUS    0x78
-
-#define AONCRG_RESET_ASSERT    0x38
-#define AONCRG_RESET_STATUS    0x3C
-
-#define ISPCRG_RESET_ASSERT    0x38
-#define ISPCRG_RESET_STATUS    0x3C
-
-#define VOUTCRG_RESET_ASSERT   0x48
-#define VOUTCRG_RESET_STATUS   0x4C
-
 struct reset_assert_t {
        void *__iomem reg_assert;
        void *__iomem reg_status;