summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pcf8563.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-03-04 21:12:07 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-03-04 21:12:07 +0100
commitf5e5b734d4c9ccc1f5f68bdf545bdc4b19681d28 (patch)
tree7b4e206c499af24d2dad42172a52a2d215b29c76 /drivers/rtc/rtc-pcf8563.c
parent[ARM] EBSA110: Work around build errors (diff)
downloadlinux-f5e5b734d4c9ccc1f5f68bdf545bdc4b19681d28.tar.xz
linux-f5e5b734d4c9ccc1f5f68bdf545bdc4b19681d28.zip
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/rtc/rtc-pcf8563.c')
0 files changed, 0 insertions, 0 deletions