summaryrefslogtreecommitdiffstats
path: root/dtt
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-15 13:41:04 +0100
committerWolfgang Denk <wd@denx.de>2007-01-15 13:41:04 +0100
commitf11033e739017c5c4eac55f859b8b222ee8d602c (patch)
tree4b07b98f378e685c096937c2aeca06e006698af7 /dtt
parentddd4123336aad881f50dc34892ac150cfa8143fe (diff)
parentca43ba18e910206ef8063e4b22d282630bff3fd2 (diff)
downloadblackbird-obmc-uboot-f11033e739017c5c4eac55f859b8b222ee8d602c.tar.gz
blackbird-obmc-uboot-f11033e739017c5c4eac55f859b8b222ee8d602c.zip
Merge with /home/hs/SC3/u-boot
Some code cleanup.
Diffstat (limited to 'dtt')
-rw-r--r--dtt/lm81.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtt/lm81.c b/dtt/lm81.c
index c83a3cdf63..03bc53d58c 100644
--- a/dtt/lm81.c
+++ b/dtt/lm81.c
@@ -134,8 +134,8 @@ int dtt_init (void)
} /* dtt_init() */
#define TEMP_FROM_REG(temp) \
- ((temp)<256?((((temp)&0x1fe) >> 1) * 10) + ((temp) & 1) * 5: \
- ((((temp)&0x1fe) >> 1) -255) * 10 - ((temp) & 1) * 5) \
+ ((temp)<256?((((temp)&0x1fe) >> 1) * 10) + ((temp) & 1) * 5: \
+ ((((temp)&0x1fe) >> 1) -255) * 10 - ((temp) & 1) * 5) \
int dtt_get_temp(int sensor)
{
OpenPOWER on IntegriCloud