commit | 7f8b1307ce927d8c815d4a9e107a7ec4a8495ee0 | [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 | a48499f81ad1727ed99a7fb4450c8254ea1d5ee0 [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>