mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-30 10:11:45 +02: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>