]> git.openfabrics.org - ~emulex/infiniband.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)
commit148a5dd5ccc25581b44a38079128f49e47353713
tree7ec112b7ade095e09a0eb402c58be91f0d72a4d4
parenta5de681c0cf7350fa13ccd67f1a118f1651cc2d5
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