summaryrefslogtreecommitdiff
path: root/common/regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/regulator.c')
-rw-r--r--common/regulator.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/common/regulator.c b/common/regulator.c
index 54d9e87521..5b8da2adc8 100644
--- a/common/regulator.c
+++ b/common/regulator.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -11,8 +11,7 @@
#include "host_command.h"
#include "regulator.h"
-static enum ec_status
-hc_regulator_get_info(struct host_cmd_handler_args *args)
+static enum ec_status hc_regulator_get_info(struct host_cmd_handler_args *args)
{
const struct ec_params_regulator_get_info *p = args->params;
struct ec_response_regulator_get_info *r = args->response;
@@ -33,8 +32,7 @@ hc_regulator_get_info(struct host_cmd_handler_args *args)
DECLARE_HOST_COMMAND(EC_CMD_REGULATOR_GET_INFO, hc_regulator_get_info,
EC_VER_MASK(0));
-static enum ec_status
-hc_regulator_enable(struct host_cmd_handler_args *args)
+static enum ec_status hc_regulator_enable(struct host_cmd_handler_args *args)
{
const struct ec_params_regulator_enable *p = args->params;
int rv;