summaryrefslogtreecommitdiff
path: root/drivers/rtc/s3c24x0_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/s3c24x0_rtc.c')
-rw-r--r--drivers/rtc/s3c24x0_rtc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c
index 0d3372fac..e10db9acb 100644
--- a/drivers/rtc/s3c24x0_rtc.c
+++ b/drivers/rtc/s3c24x0_rtc.c
@@ -58,16 +58,6 @@ static inline void SetRTC_Access(RTC_ACCESS a)
}
}
-static unsigned bcd2bin (uchar n)
-{
- return ((((n >> 4) & 0x0F) * 10) + (n & 0x0F));
-}
-
-static unsigned char bin2bcd (unsigned int n)
-{
- return (((n / 10) << 4) | (n % 10));
-}
-
/* ------------------------------------------------------------------------- */
int rtc_get (struct rtc_time *tmp)