From: Russell King Date: Sun, 4 Mar 2007 20:12:07 +0000 (+0000) Subject: [ARM] rtc-pcf8583: don't use BCD_TO_BIN/BIN_TO_BCD X-Git-Tag: v2.6.21-rc3~102^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5e5b734d4c9ccc1f5f68bdf545bdc4b19681d28;p=pandora-kernel.git [ARM] rtc-pcf8583: don't use BCD_TO_BIN/BIN_TO_BCD Both BCD_TO_BIN(x) and BIN_TO_BCD(x) have an unexpected side-effect - not only do they return the value as expected, they _modify_ their argument in the process. Let's play it safe and avoid these macros. Signed-off-by: Russell King --- Reading git-diff-tree failed