diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 13:33:56 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 12:35:16 +0000 |
commit | e3d469a416dd9dab297931e17e8baf70be93880d (patch) | |
tree | b2f07e466bbfdf8b72bb82a0d817806dece9901e /board | |
parent | bc9b85a9bdf1bccbd1ea17b2149e3d0b2be4cb11 (diff) | |
download | chrome-ec-e3d469a416dd9dab297931e17e8baf70be93880d.tar.gz |
board/felwinter/board.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Iba826c145fd31886d9544b28f675b5533e9383db
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728352
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/felwinter/board.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/board/felwinter/board.c b/board/felwinter/board.c index 7f39e58336..461b629374 100644 --- a/board/felwinter/board.c +++ b/board/felwinter/board.c @@ -29,8 +29,8 @@ #include "gpio_list.h" /* Must come after other header files. */ /* Console output macros */ -#define CPRINTF(format, args...) cprintf(CC_CHARGER, format, ## args) -#define CPRINTS(format, args...) cprints(CC_CHARGER, format, ## args) +#define CPRINTF(format, args...) cprintf(CC_CHARGER, format, ##args) +#define CPRINTS(format, args...) cprints(CC_CHARGER, format, ##args) /******************************************************************************/ /* USB-A charging control */ @@ -94,8 +94,8 @@ int board_is_vbus_too_low(int port, enum chg_ramp_vbus_state ramp_state) } if (voltage < BC12_MIN_VOLTAGE) { - CPRINTS("%s: port %d: vbus %d lower than %d", __func__, - port, voltage, BC12_MIN_VOLTAGE); + CPRINTS("%s: port %d: vbus %d lower than %d", __func__, port, + voltage, BC12_MIN_VOLTAGE); return 1; } @@ -126,7 +126,6 @@ static void board_init(void) } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); - /** * Deferred function to handle pen detect change */ @@ -149,8 +148,7 @@ DECLARE_HOOK(HOOK_INIT, pendetect_deferred, HOOK_PRIO_DEFAULT); void pen_detect_interrupt(enum gpio_signal s) { /* Trigger deferred notification of pen detect change */ - hook_call_deferred(&pendetect_deferred_data, - 500 * MSEC); + hook_call_deferred(&pendetect_deferred_data, 500 * MSEC); } void pen_config(void) |