rtc: use bcd2bin/bin2bcd
authorAdrian Bunk <bunk@kernel.org>
Sun, 19 Oct 2008 03:28:42 +0000 (20:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:41 +0000 (08:52 -0700)
commit357c6e63590895dc87cc9300f5a1c27544ea69e8
tree707cd1a80287e0f8f6f9d2879c322b2e71b2f995
parentfe20ba70abf7d6e5855c3dacc729490b3d0d077f
rtc: use bcd2bin/bin2bcd

Change various rtc related code to use the new bcd2bin/bin2bcd functions
instead of the obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/rtc.c
drivers/char/ds1286.c
drivers/char/ds1302.c
drivers/char/ip27-rtc.c
drivers/char/rtc.c
include/asm-generic/rtc.h