]> git.baikalelectronics.ru Git - kernel.git/commit
eeepc-laptop: document fan_pwm conversions
authorFrans Klaver <fransklaver@gmail.com>
Wed, 22 Oct 2014 19:12:42 +0000 (21:12 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 19 Nov 2014 17:07:08 +0000 (09:07 -0800)
commit73eaff9e18b9d847af2350cdcfa9b73f531c5730
tree7ec112b7ade095e09a0eb402c58be91f0d72a4d4
parent367c938d13687ed33ce840290be36ed778747fe7
eeepc-laptop: document fan_pwm conversions

eeepc_get_fan_pwm and eeepc_set_fan_pwm convert the PWM value read from
the fan to a range lmsensors understands. Unfortunately this is only
clear if you are familiar with how lmsensors handles duty cycles.

Introduce two conversion functions that document the goal of these
conversions.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/eeepc-laptop.c