]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb15bb41dbf072475d78153e7d242715655521148
tree707cd1a80287e0f8f6f9d2879c322b2e71b2f995
parent49a41786ac09fa6d898b3c52baf24a5ff8206589
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