From: Jean Delvare Date: Wed, 25 Jun 2008 13:10:30 +0000 (-0400) Subject: hwmon: (lm85) Simplify device initialization function X-Git-Tag: v2.6.27-rc2~103^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f44759470f7248f74947a39cba339009d62052c;p=pandora-kernel.git hwmon: (lm85) Simplify device initialization function Clean up and simplify the device initialization function: * Degrade error messages to warnings - what they really are. * Stop warning about VxI mode, we don't really care. * Drop comment about lack of limit initialization - that's the standard way, all hardware monitoring drivers do that. * Only read the configuration register once. * Only write back to the configuration register if needed. * Don't attempt to clear the lock bit, it locks itself to 1. * Move the function to before it's called, so that we no longer need to forware declare it. Signed-off-by: Jean Delvare Signed-off-by: Mark M. Hoffman --- Reading git-diff-tree failed