ac3a84
From 583e9f1af5642643f11bc1cab26989a4f1dff776 Mon Sep 17 00:00:00 2001
ac3a84
From: Yu Watanabe <watanabe.yu+github@gmail.com>
ac3a84
Date: Mon, 14 Nov 2022 02:44:13 +0900
ac3a84
Subject: [PATCH] sleep: coding style fixlets
ac3a84
ac3a84
(cherry picked from commit 3c3f46013ed53aba1aad5b51844434713fa5a0e9)
ac3a84
ac3a84
Related: #2151612
ac3a84
---
ac3a84
 src/sleep/sleep.c | 4 ++--
ac3a84
 1 file changed, 2 insertions(+), 2 deletions(-)
ac3a84
ac3a84
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c
ac3a84
index 0bbea9e856..bfd8ef3670 100644
ac3a84
--- a/src/sleep/sleep.c
ac3a84
+++ b/src/sleep/sleep.c
ac3a84
@@ -430,9 +430,9 @@ static int execute_s2h(const SleepConfig *sleep_config) {
ac3a84
                         return 0;
ac3a84
         } else {
ac3a84
                 r = custom_timer_suspend(sleep_config);
ac3a84
-                if(r < 0)
ac3a84
+                if (r < 0)
ac3a84
                         return log_debug_errno(r, "Suspend cycle with manual battery discharge rate estimation failed: %m");
ac3a84
-                if(r == 0)
ac3a84
+                if (r == 0)
ac3a84
                         /* manual wakeup */
ac3a84
                         return 0;
ac3a84
         }