m68k: use bcd2bin/bin2bcd
authorAdrian Bunk <bunk@kernel.org>
Mon, 13 Oct 2008 19:58:47 +0000 (21:58 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2008 17:23:26 +0000 (10:23 -0700)
commit5b1d5f953bbb50dcbdf93719cb622aa128ba7527
treed1f826b007e909bbf340498376c83a0452359af4
parent4aba41ea8bdc1b475861f5e5c1649ab20251090c
m68k: use bcd2bin/bin2bcd

This patch changes m68k to use the new bcd2bin/bin2bcd functions instead
of the obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.

It also remove local bcd2bin/bin2bcd implementations
in favor of the global ones.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/atari/time.c
arch/m68k/bvme6000/config.c
arch/m68k/bvme6000/rtc.c
arch/m68k/mvme16x/rtc.c
arch/m68k/q40/config.c
arch/m68k/sun3x/time.c