powerpc/windfarm: Improve display of fan speeds in sysfs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 18 Apr 2012 22:16:50 +0000 (22:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 30 Apr 2012 05:37:20 +0000 (15:37 +1000)
commitea5c64b06743b505e0eb4e6caa1810fe685c9559
tree61d98ccdc6a509424242457888ecd1102e20fca0
parenta94d72b13642364e4d9da6e9165da05c0e055507
powerpc/windfarm: Improve display of fan speeds in sysfs

Controls registered as RPM and PWM fans are now displayed
with the "RPM" or "%" suffix respectively to make it
clearer to the user what the value actually means since
the fan type isn't otherwise obvious.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/windfarm_core.c