chip/npcx/lct.c: Format with clang-format
BRANCH=none
TEST=none
@@ -93,7 +93,6 @@ void npcx_lct_config(int seconds, int psl_ena, int int_ena)
if (int_ena)
SET_BIT(NPCX_LCTCONT, NPCX_LCTCONT_EVEN);
-
}
uint32_t npcx_lct_get_time(void)
@@ -107,16 +106,12 @@ uint32_t npcx_lct_get_time(void)
hour = NPCX_LCTHOUR;
minute = NPCX_LCTMINUTE;
second = NPCX_LCTSECOND;
- } while (week != NPCX_LCTWEEK ||
- day != NPCX_LCTDAY ||
- hour != NPCX_LCTHOUR ||
- minute != NPCX_LCTMINUTE ||
+ } while (week != NPCX_LCTWEEK || day != NPCX_LCTDAY ||
+ hour != NPCX_LCTHOUR || minute != NPCX_LCTMINUTE ||
second != NPCX_LCTSECOND);
- second += minute * SECS_PER_MINUTE +
- hour * SECS_PER_HOUR +
- day * SECS_PER_DAY +
- week * SECS_PER_WEEK;
+ second += minute * SECS_PER_MINUTE + hour * SECS_PER_HOUR +
+ day * SECS_PER_DAY + week * SECS_PER_WEEK;
return second;
}
