board/nautilus/battery.c: Format with clang-format
BRANCH=none
TEST=none
@@ -160,7 +160,8 @@ static int battery_init(void)
{
int batt_status;
- return battery_status(&batt_status) ? 0 :
+ return battery_status(&batt_status) ?
+ 0 :
!!(batt_status & STATUS_INITIALIZED);
}
@@ -185,8 +186,7 @@ static int battery_check_disconnect(void)
if (rv)
return BATTERY_DISCONNECT_ERROR;
- if (((batt_mfgacc >> BATFETS_SHIFT) & BATFETS_MASK) ==
- BATFETS_DISABLED)
+ if (((batt_mfgacc >> BATFETS_SHIFT) & BATFETS_MASK) == BATFETS_DISABLED)
return BATTERY_DISCONNECTED;
return BATTERY_NOT_DISCONNECTED;
