diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-06-25 09:10:30 -0400 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-07-31 23:44:03 -0400 |
commit | 5f44759470f7248f74947a39cba339009d62052c (patch) | |
tree | d599a349467fee830b7009fb604ef2b8bcd48855 /MAINTAINERS | |
parent | e89e22b23bceb3fbbcfb931ad17a564b7c1eaa55 (diff) | |
download | lwn-5f44759470f7248f74947a39cba339009d62052c.tar.gz lwn-5f44759470f7248f74947a39cba339009d62052c.zip |
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 <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions