summaryrefslogtreecommitdiff
path: root/common/regulator.c
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:39:07 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 02:26:28 +0000
commit15ae6b579593645c666ac1dc5a53b104223c3b7d (patch)
tree92b265899b96e6a686b2b90799b57e3b1eaffc4b /common/regulator.c
parent996c076a263922a3e53e749e0eb81dc6ab87dc12 (diff)
downloadchrome-ec-15ae6b579593645c666ac1dc5a53b104223c3b7d.tar.gz
common/regulator.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ie9abc9c87259d183f21cc0965b4d3b89c7a968a1 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729704 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'common/regulator.c')
-rw-r--r--common/regulator.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/regulator.c b/common/regulator.c
index 54d9e87521..dd7c30a29a 100644
--- a/common/regulator.c
+++ b/common/regulator.c
@@ -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;