power/host_sleep.c: Format with clang-format
BRANCH=none
TEST=none
/* Track last reported sleep event */
static enum host_sleep_event host_sleep_state;
-__overridable void power_chipset_handle_host_sleep_event(
- enum host_sleep_event state,
+__overridable void
+power_chipset_handle_host_sleep_event(enum host_sleep_event state,
struct host_sleep_event_context *ctx)
{
/* Default weak implementation -- no action required. */
@@ -71,8 +71,7 @@ host_command_host_sleep_event(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
-DECLARE_HOST_COMMAND(EC_CMD_HOST_SLEEP_EVENT,
- host_command_host_sleep_event,
+DECLARE_HOST_COMMAND(EC_CMD_HOST_SLEEP_EVENT, host_command_host_sleep_event,
EC_VER_MASK(0) | EC_VER_MASK(1));
enum host_sleep_event power_get_host_sleep_state(void)
@@ -116,14 +115,13 @@ static enum sleep_hang_type timeout_hang_type;
static void sleep_transition_timeout(void);
DECLARE_DEFERRED(sleep_transition_timeout);
-__overridable void power_board_handle_sleep_hang(
- enum sleep_hang_type hang_type)
+__overridable void power_board_handle_sleep_hang(enum sleep_hang_type hang_type)
{
/* Default empty implementation */
}
-__overridable void power_chipset_handle_sleep_hang(
- enum sleep_hang_type hang_type)
+__overridable void
+power_chipset_handle_sleep_hang(enum sleep_hang_type hang_type)
{
/* Default empty implementation */
}
@@ -255,7 +253,6 @@ DECLARE_CONSOLE_COMMAND(sleeptimeout, command_sleep_fail_timeout,
" <msec> - custom length in milliseconds\n"
" <none> - prints the current setting");
-
#else /* !CONFIG_POWER_SLEEP_FAILURE_DETECTION */
/* No action */
