hwmon: (applesmc) Fix checkpatch errors and fix value range checks
authorGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 10 Nov 2010 18:42:21 +0000 (10:42 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 8 Jan 2011 18:55:46 +0000 (10:55 -0800)
commit2bfe814826b7266a489895f731a777f8cbe37963
tree9d4398dded8637c45ac24e06d59538cbad48513e
parent41e71f97174ba08fcca7f31bf448de92abc8862e
hwmon: (applesmc) Fix checkpatch errors and fix value range checks

This patch fixes all checkpatch errors and most of the checkpatch warnings.
It also fixes the range check in applesmc_store_fan_speed().

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hwmon/applesmc.c