summaryrefslogtreecommitdiff
path: root/board/mushu/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mushu/thermal.c')
-rw-r--r--board/mushu/thermal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/mushu/thermal.c b/board/mushu/thermal.c
index b61f36ab8a..da8f29de08 100644
--- a/board/mushu/thermal.c
+++ b/board/mushu/thermal.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.
*/
@@ -23,8 +23,7 @@ void fan_set_percent(int fan, int pct)
new_rpm = fan_percent_to_rpm(fan, pct);
actual_rpm = fan_get_rpm_actual(FAN_CH(fan));
- if (new_rpm &&
- actual_rpm < min_rpm &&
+ if (new_rpm && actual_rpm < min_rpm &&
new_rpm < fans[fan].rpm->rpm_start)
new_rpm = fans[fan].rpm->rpm_start;