mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-16 15:06:01 +01:00
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>