summaryrefslogtreecommitdiff
path: root/include/switch.h
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 15:16:07 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 00:47:25 +0000
commit4b726816f8c90d4a2d5312e63e41d857fee28e36 (patch)
treef42eb6b416e8e32ea7e173f26596699faea9b1ff /include/switch.h
parenta1a0b3080112f6bd24464b12c5da0bb7d037243f (diff)
downloadchrome-ec-4b726816f8c90d4a2d5312e63e41d857fee28e36.tar.gz
include/switch.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I4390027a7b9b3f2c7134acf1d0b85d31c53347d1 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730412 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/switch.h')
-rw-r--r--include/switch.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/switch.h b/include/switch.h
index e026408af9..243c1b9a57 100644
--- a/include/switch.h
+++ b/include/switch.h
@@ -19,7 +19,9 @@
*/
void switch_interrupt(enum gpio_signal signal);
#else
-static inline void switch_interrupt(enum gpio_signal signal) { }
-#endif /* !CONFIG_SWITCH */
+static inline void switch_interrupt(enum gpio_signal signal)
+{
+}
+#endif /* !CONFIG_SWITCH */
-#endif /* __CROS_EC_SWITCH_H */
+#endif /* __CROS_EC_SWITCH_H */