summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:29:31 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 20:27:01 +0000
commit2b5d7746f20d73496f352cc8bc3b8637c068026d (patch)
treea551262635e890fad51a1c2209bece90cab73b88 /chip
parente07ee44293e3ceca0bc2c7e0b6df7f2ce1619e62 (diff)
downloadchrome-ec-2b5d7746f20d73496f352cc8bc3b8637c068026d.tar.gz
chip/stm32/host_command_common.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I11c8e8c5eeab52d0984835d28d29ac689118e4f7 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729511 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/stm32/host_command_common.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/chip/stm32/host_command_common.c b/chip/stm32/host_command_common.c
index b39a298c64..faa866da25 100644
--- a/chip/stm32/host_command_common.c
+++ b/chip/stm32/host_command_common.c
@@ -17,8 +17,8 @@ static enum fp_transport_type curr_transport_type = FP_TRANSPORT_TYPE_UNKNOWN;
/*
* Get protocol information
*/
-static enum ec_status host_command_protocol_info(struct host_cmd_handler_args
- *args)
+static enum ec_status
+host_command_protocol_info(struct host_cmd_handler_args *args)
{
enum ec_status ret_status = EC_RES_INVALID_COMMAND;
@@ -39,8 +39,7 @@ static enum ec_status host_command_protocol_info(struct host_cmd_handler_args
return ret_status;
}
-DECLARE_HOST_COMMAND(EC_CMD_GET_PROTOCOL_INFO,
- host_command_protocol_info,
+DECLARE_HOST_COMMAND(EC_CMD_GET_PROTOCOL_INFO, host_command_protocol_info,
EC_VER_MASK(0));
#endif /* CONFIG_I2C_PERIPHERAL */