diff options
Diffstat (limited to 'chip/ish/system_state_subsys.c')
-rw-r--r-- | chip/ish/system_state_subsys.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chip/ish/system_state_subsys.c b/chip/ish/system_state_subsys.c index 81a0a6d7b7..5a0fe582b5 100644 --- a/chip/ish/system_state_subsys.c +++ b/chip/ish/system_state_subsys.c @@ -22,12 +22,12 @@ /* the following "define"s and structures are from host driver * and they are slightly modified for look&feel purpose. */ -#define SYSTEM_STATE_SUBSCRIBE 0x1 -#define SYSTEM_STATE_STATUS 0x2 -#define SYSTEM_STATE_QUERY_SUBSCRIBERS 0x3 -#define SYSTEM_STATE_STATE_CHANGE_REQ 0x4 +#define SYSTEM_STATE_SUBSCRIBE 0x1 +#define SYSTEM_STATE_STATUS 0x2 +#define SYSTEM_STATE_QUERY_SUBSCRIBERS 0x3 +#define SYSTEM_STATE_STATE_CHANGE_REQ 0x4 -#define SUSPEND_STATE_BIT (1<<1) /* suspend/resume */ +#define SUSPEND_STATE_BIT BIT(1) /* suspend/resume */ /* Cached state of ISH's requested power rails when AP suspends */ #ifdef CHIP_FAMILY_ISH5 |