From: Jean Delvare Date: Wed, 25 Jun 2008 12:47:35 +0000 (-0400) Subject: hwmon: (lm85) Misc cleanups X-Git-Tag: v2.6.27-rc2~103^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55;p=pandora-kernel.git hwmon: (lm85) Misc cleanups Misc cleanups to the lm85 hardware monitoring driver: * Mark constant arrays as const. * Remove useless masks. * Have lm85_write_value return void - nobody is checking the returned value anyway and in some cases it was plain wrong. * Remove useless initializations. * Rename new_client to client in lm85_detect. * Replace cascaded if/else with a switch/case in lm85_detect. * Group similar loops in lm85_update_device. * Remove legacy comments. Signed-off-by: Jean Delvare Acked-by: Juerg Haefliger Signed-off-by: Mark M. Hoffman --- Reading git-diff-tree failed