summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:42:57 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 09:11:35 +0000
commitc35b1335dbd849f7a3b25b090d1459d7bbba1e06 (patch)
treeead6074c3277576b9308273fa4aac85970134832
parent4a1479d8c0b5b1fe38e0178f2c189e185c0e91b7 (diff)
downloadchrome-ec-c35b1335dbd849f7a3b25b090d1459d7bbba1e06.tar.gz
board/kukui_scp/isp_p1_srv.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I5a8b4ea0c2499a7ff3c9330d7776e45f22c07e5f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728540 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--board/kukui_scp/isp_p1_srv.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/board/kukui_scp/isp_p1_srv.c b/board/kukui_scp/isp_p1_srv.c
index 5c2ae7c2e9..39b2a41a07 100644
--- a/board/kukui_scp/isp_p1_srv.c
+++ b/board/kukui_scp/isp_p1_srv.c
@@ -20,19 +20,21 @@
static struct consumer const event_isp_consumer;
static void event_isp_written(struct consumer const *consumer, size_t count);
-static struct queue const event_isp_queue = QUEUE_DIRECT(8,
- struct isp_msg, null_producer, event_isp_consumer);
+static struct queue const event_isp_queue =
+ QUEUE_DIRECT(8, struct isp_msg, null_producer, event_isp_consumer);
static struct consumer const event_isp_consumer = {
.queue = &event_isp_queue,
- .ops = &((struct consumer_ops const) {
+ .ops = &((struct consumer_ops const){
.written = event_isp_written,
}),
};
/* Stub functions only provided by private overlays. */
#ifndef HAVE_PRIVATE_MT8183
-void isp_msg_handler(void *data) {}
+void isp_msg_handler(void *data)
+{
+}
#endif
static void event_isp_written(struct consumer const *consumer, size_t count)