diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-10-29 13:05:11 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-30 21:51:50 +0000 |
commit | c7b930606b479d4747da224f6cf62fd8061e6af0 (patch) | |
tree | 71df4cab99a9598d429a3409f8416ec9490e9283 /common/thermal.c | |
parent | 1d0102ae2cccdb4e798c196b0e6445c167efe4b6 (diff) | |
download | chrome-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 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c index 26775f62eb..6d4708c0ef 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -156,7 +156,7 @@ static void thermal_control(void) #ifdef CONFIG_FAN /* Max fan needed is what's needed. */ - pwm_fan_set_percent_needed(fmax); + fan_set_percent_needed(fmax); #endif } |