summaryrefslogtreecommitdiff
path: root/baseboard/ite_evb
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:16:25 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 06:49:52 +0000
commit473173a86e38189cee59f5bfd4c17286af5eb064 (patch)
tree3cdfc0ac91e3cc235e189f35ae5d58efaf65be4a /baseboard/ite_evb
parentdb9740a65f52e055348aa2234c183ddc07cd443f (diff)
downloadchrome-ec-473173a86e38189cee59f5bfd4c17286af5eb064.tar.gz
baseboard/ite_evb/baseboard.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iea016239e78c9bfe8445a88b6d41a8977f3f5e7b Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3727906 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'baseboard/ite_evb')
-rw-r--r--baseboard/ite_evb/baseboard.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/baseboard/ite_evb/baseboard.c b/baseboard/ite_evb/baseboard.c
index 00459b12bc..c76204d35c 100644
--- a/baseboard/ite_evb/baseboard.c
+++ b/baseboard/ite_evb/baseboard.c
@@ -42,8 +42,10 @@ const struct fan_rpm fan_rpm_0 = {
};
const struct fan_t fans[] = {
- { .conf = &fan_conf_0,
- .rpm = &fan_rpm_0, },
+ {
+ .conf = &fan_conf_0,
+ .rpm = &fan_rpm_0,
+ },
};
BUILD_ASSERT(ARRAY_SIZE(fans) == CONFIG_FANS);
@@ -123,11 +125,9 @@ __override struct keyboard_scan_config keyscan_config = {
#if defined(CONFIG_SPI_FLASH_PORT)
/* SPI devices */
const struct spi_device_t spi_devices[] = {
- [CONFIG_SPI_FLASH_PORT] = {
- .port = CONFIG_SPI_FLASH_PORT,
- .div = 0,
- .gpio_cs = -1
- },
+ [CONFIG_SPI_FLASH_PORT] = { .port = CONFIG_SPI_FLASH_PORT,
+ .div = 0,
+ .gpio_cs = -1 },
};
const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices);
#endif
@@ -139,9 +139,8 @@ static void board_init(void)
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
/* Wake-up pins for hibernate */
-const enum gpio_signal hibernate_wake_pins[] = {
- GPIO_POWER_BUTTON_L, GPIO_LID_OPEN
-};
+const enum gpio_signal hibernate_wake_pins[] = { GPIO_POWER_BUTTON_L,
+ GPIO_LID_OPEN };
const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);
/*