summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/board_led.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/board_led.h')
-rw-r--r--zephyr/shim/include/board_led.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/zephyr/shim/include/board_led.h b/zephyr/shim/include/board_led.h
index 205c96c4c3..074ffa0256 100644
--- a/zephyr/shim/include/board_led.h
+++ b/zephyr/shim/include/board_led.h
@@ -1,4 +1,4 @@
-/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -12,13 +12,13 @@ struct board_led_pwm_dt_channel {
pwm_flags_t flags;
};
-#define BOARD_LED_PWM_DT_CHANNEL_INITIALIZER(node_id) \
- { \
+#define BOARD_LED_PWM_DT_CHANNEL_INITIALIZER(node_id) \
+ { \
.dev = DEVICE_DT_GET(DT_PWMS_CTLR(node_id)), \
- .channel = DT_PWMS_CHANNEL(node_id), \
- .flags = DT_PWMS_FLAGS(node_id), \
+ .channel = DT_PWMS_CHANNEL(node_id), \
+ .flags = DT_PWMS_FLAGS(node_id), \
}
#define BOARD_LED_HZ_TO_PERIOD_NS(freq_hz) (NSEC_PER_SEC / freq_hz)
-#endif /* __BOARD_LED_H */
+#endif /* __BOARD_LED_H */