diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-10-18 23:28:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 11:52:41 -0400 |
commit | a0098efd6ee4e8c04d82d761aa1bb9ec7a0aa32d (patch) | |
tree | aeba7aa1a577730bc355feb7e9f34b3c237c9a60 /include/linux/bcd.h | |
parent | 2cee5dfa8b01524a1d937d56ee518677b7acfb38 (diff) |
remove the obsolete BCD*BIN/BIN*BCD macros
Remove the following obsolete macros:
- BCD2BIN
- BIN2BCD
- BCD_TO_BIN
- BIN_TO_BCD
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/bcd.h')
-rw-r--r-- | include/linux/bcd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/bcd.h b/include/linux/bcd.h index 7ac518e3c152..75f6d6e699a0 100644 --- a/include/linux/bcd.h +++ b/include/linux/bcd.h | |||
@@ -15,11 +15,4 @@ | |||
15 | unsigned bcd2bin(unsigned char val) __attribute_const__; | 15 | unsigned bcd2bin(unsigned char val) __attribute_const__; |
16 | unsigned char bin2bcd(unsigned val) __attribute_const__; | 16 | unsigned char bin2bcd(unsigned val) __attribute_const__; |
17 | 17 | ||
18 | #define BCD2BIN(val) bcd2bin(val) | ||
19 | #define BIN2BCD(val) bin2bcd(val) | ||
20 | |||
21 | /* backwards compat */ | ||
22 | #define BCD_TO_BIN(val) ((val)=BCD2BIN(val)) | ||
23 | #define BIN_TO_BCD(val) ((val)=BIN2BCD(val)) | ||
24 | |||
25 | #endif /* _BCD_H */ | 18 | #endif /* _BCD_H */ |