diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2007-01-15 12:41:04 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-01-15 12:41:04 (GMT) |
commit | f11033e739017c5c4eac55f859b8b222ee8d602c (patch) | |
tree | 4b07b98f378e685c096937c2aeca06e006698af7 /dtt/lm81.c | |
parent | ddd4123336aad881f50dc34892ac150cfa8143fe (diff) | |
parent | ca43ba18e910206ef8063e4b22d282630bff3fd2 (diff) | |
download | u-boot-fsl-qoriq-f11033e739017c5c4eac55f859b8b222ee8d602c.tar.xz |
Merge with /home/hs/SC3/u-boot
Some code cleanup.
Diffstat (limited to 'dtt/lm81.c')
-rw-r--r-- | dtt/lm81.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |