diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:33:29 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 00:45:41 +0000 |
commit | 547b996eee96f4f19187793f696411d0ee26036f (patch) | |
tree | 36e1107e8cad191848e9cfa4206e3b3c7d4c957b | |
parent | 0f1a23461f4376faa797670ced4fe45f52fd5c86 (diff) | |
download | chrome-ec-547b996eee96f4f19187793f696411d0ee26036f.tar.gz |
common/als.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I98ab966b11b6fe45b27a96e3cd6936a77c317e1e
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729563
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r-- | common/als.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/common/als.c b/common/als.c index 2e9c7ba96c..b4d5ae1e5e 100644 --- a/common/als.c +++ b/common/als.c @@ -19,9 +19,8 @@ #include "util.h" #define CPUTS(outstr) cputs(CC_ALS, outstr) -#define CPRINTS(format, args...) cprints(CC_ALS, format, ## args) -#define CPRINTF(format, args...) cprintf(CC_ALS, format, ## args) - +#define CPRINTS(format, args...) cprints(CC_ALS, format, ##args) +#define CPRINTF(format, args...) cprintf(CC_ALS, format, ##args) #define ALS_POLL_PERIOD SECOND @@ -90,8 +89,7 @@ static void als_task_init(void) * Enable ALS task in S0 only and may need to re-enable * when sysjumped. */ - if (system_jumped_late() && - chipset_in_state(CHIPSET_STATE_ON)) + if (system_jumped_late() && chipset_in_state(CHIPSET_STATE_ON)) als_task_enable(); } @@ -121,7 +119,5 @@ static int command_als(int argc, char **argv) return EC_SUCCESS; } -DECLARE_CONSOLE_COMMAND(als, command_als, - NULL, - "Print ALS values"); +DECLARE_CONSOLE_COMMAND(als, command_als, NULL, "Print ALS values"); #endif |