summaryrefslogtreecommitdiff
path: root/baseboard/ite_evb/baseboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/ite_evb/baseboard.c')
-rw-r--r--baseboard/ite_evb/baseboard.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/baseboard/ite_evb/baseboard.c b/baseboard/ite_evb/baseboard.c
index 00459b12bc..70f50f054b 100644
--- a/baseboard/ite_evb/baseboard.c
+++ b/baseboard/ite_evb/baseboard.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -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);
/*