util/comm-lpc.c: Format with clang-format
BRANCH=none
TEST=none
@@ -46,9 +46,8 @@ static int wait_for_ec(int status_addr, int timeout_usec)
return -1; /* Timeout */
}
-static int ec_command_lpc(int command, int version,
- const void *outdata, int outsize,
- void *indata, int insize)
+static int ec_command_lpc(int command, int version, const void *outdata,
+ int outsize, void *indata, int insize)
{
struct ec_lpc_host_args args;
const uint8_t *d;
@@ -112,8 +111,7 @@ static int ec_command_lpc(int command, int version,
csum = command + args.flags + args.command_version + args.data_size;
/* Read response and update checksum */
- for (i = 0, dout = (uint8_t *)indata; i < args.data_size;
- i++, dout++) {
+ for (i = 0, dout = (uint8_t *)indata; i < args.data_size; i++, dout++) {
*dout = inb(EC_LPC_ADDR_HOST_PARAM + i);
csum += *dout;
}
@@ -128,9 +126,8 @@ static int ec_command_lpc(int command, int version,
return args.data_size;
}
-static int ec_command_lpc_3(int command, int version,
- const void *outdata, int outsize,
- void *indata, int insize)
+static int ec_command_lpc_3(int command, int version, const void *outdata,
+ int outsize, void *indata, int insize)
{
struct ec_host_request rq;
struct ec_host_response rs;
