Skip to content
Snippets Groups Projects
Commit 7754f33c authored by Larry Johnson's avatar Larry Johnson Committed by Wolfgang Denk
Browse files

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: default avatarLarry Johnson <lrj@acm.org>
parent 950a3924
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment