summaryrefslogtreecommitdiff
path: root/test/thermal.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-10-29 13:05:11 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-30 21:51:50 +0000
commitc7b930606b479d4747da224f6cf62fd8061e6af0 (patch)
tree71df4cab99a9598d429a3409f8416ec9490e9283 /test/thermal.c
parent1d0102ae2cccdb4e798c196b0e6445c167efe4b6 (diff)
downloadchrome-ec-c7b930606b479d4747da224f6cf62fd8061e6af0.tar.gz
Separate common fan behavior from implementation
This looks like a lot, but it's really just moving the non-board-specific stuff from chip/lm4/fan.c into common/fan.c, updating the appropriate headers, and renaming functions to better match the new location. This is entirely code refactoring and renaming. No new functionality. BUG=chrome-os-partner:23530 BRANCH=none TEST=manual make runtests, build all platforms, build and test on Link. Change-Id: I7dc03d6732bad83cf838a86600b42a7cff5aa7aa Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175012
Diffstat (limited to 'test/thermal.c')
-rw-r--r--test/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/thermal.c b/test/thermal.c
index fb10b1cd1e..deaac2f631 100644
--- a/test/thermal.c
+++ b/test/thermal.c
@@ -62,7 +62,7 @@ void host_throttle_cpu(int throttled)
host_throttled = throttled;
}
-void pwm_fan_set_percent_needed(int pct)
+void fan_set_percent_needed(int pct)
{
fan_pct = pct;
}