commit | 7754f33c6fb7a2c050388d20bf3847038558bdcf | [log] [tgz] |
---|---|---|
author | Larry Johnson <lrj@acm.org> | Thu Feb 21 13:58:11 2008 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Sun Apr 13 08:58:36 2008 -0700 |
tree | b638b75d671f55ff357c78e6bfabb5cfd3ed7aa7 | |
parent | 950a392464e616b4590bc4501be46e2d7d162dea [diff] |
LM73 bug fix for negative temperatures and cleanup When the LM73 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 512 C too high. This patch fixes the problem, and does general cleanup of the code. Signed-off-by: Larry Johnson <lrj@acm.org>