i2c: use bcd2bin/bin2bcd
authorAdrian Bunk <bunk@kernel.org>
Sun, 19 Oct 2008 03:28:46 +0000 (20:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:41 +0000 (08:52 -0700)
commite4d33969c2d0a9b92c7a2853e3f890dcb4ea37d1
treeb5543d1e16c789649c28922246fa7c3325c9f795
parentf6a2298c5fd1f074aa3626febea33f48cd3b5a94
i2c: use bcd2bin/bin2bcd

Change i2c to use the new bcd2bin/bin2bcd functions instead of the
obsolete BCD2BIN/BIN2BCD macros.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/i2c/chips/menelaus.c