soc: mediatek: pwrap: use BIT() macro
[linux-2.6-microblaze.git] / drivers / soc / mediatek / mtk-pmic-wrap.c
index 5d34e8b..c897205 100644 (file)
@@ -27,8 +27,8 @@
 #define PWRAP_GET_WACS_RDATA(x)                (((x) >> 0) & 0x0000ffff)
 #define PWRAP_GET_WACS_FSM(x)          (((x) >> 16) & 0x00000007)
 #define PWRAP_GET_WACS_REQ(x)          (((x) >> 19) & 0x00000001)
-#define PWRAP_STATE_SYNC_IDLE0         (1 << 20)
-#define PWRAP_STATE_INIT_DONE0         (1 << 21)
+#define PWRAP_STATE_SYNC_IDLE0         BIT(20)
+#define PWRAP_STATE_INIT_DONE0         BIT(21)
 
 /* macro for WACS FSM */
 #define PWRAP_WACS_FSM_IDLE            0x00