summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:42:53 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-28 20:07:28 +0000
commit1a9a5d21665dcfe1781cbbff8f70bc40f0d5c51d (patch)
treebc49720f9e1699afb38807ff4504d0af89433be1
parent632cb071b59a3919f86a76ea71247436109bb17e (diff)
downloadchrome-ec-1a9a5d21665dcfe1781cbbff8f70bc40f0d5c51d.tar.gz
board/kukui_scp/fd.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I228464d1c4bb1695b256b9d8f7d582300dc823e4 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728594 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--board/kukui_scp/fd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/board/kukui_scp/fd.c b/board/kukui_scp/fd.c
index 237f15ca94..09f4f64f27 100644
--- a/board/kukui_scp/fd.c
+++ b/board/kukui_scp/fd.c
@@ -20,12 +20,11 @@
static struct consumer const event_fd_consumer;
static void event_fd_written(struct consumer const *consumer, size_t count);
-static struct queue const fd_queue = QUEUE_DIRECT(4, struct fd_msg,
- null_producer,
- event_fd_consumer);
+static struct queue const fd_queue =
+ QUEUE_DIRECT(4, struct fd_msg, null_producer, event_fd_consumer);
static struct consumer const event_fd_consumer = {
.queue = &fd_queue,
- .ops = &((struct consumer_ops const) {
+ .ops = &((struct consumer_ops const){
.written = event_fd_written,
}),
};
@@ -33,7 +32,9 @@ static struct consumer const event_fd_consumer = {
/* Stub functions only provided by private overlays. */
// Jerry TODO implement private part and remove this
#ifndef HAVE_PRIVATE_MT8183
-void fd_ipi_msg_handler(void *data) {}
+void fd_ipi_msg_handler(void *data)
+{
+}
#endif
static void event_fd_written(struct consumer const *consumer, size_t count)