diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:12:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:17 -0400 |
commit | 2a4e2b8780c6df42b19c053243dada7fa4d311ee (patch) | |
tree | 4970af3a9ee9c2a8b3e4861ac552cb9262acbaa0 /drivers/rtc/rtc-s3c.c | |
parent | dca03a51549bc645685fb8a77efa64df531666c3 (diff) |
rtc: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 9f4d5129a496..f26e0cad8f16 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -68,7 +68,7 @@ static void s3c_rtc_setaie(int to) | |||
68 | { | 68 | { |
69 | unsigned int tmp; | 69 | unsigned int tmp; |
70 | 70 | ||
71 | pr_debug("%s: aie=%d\n", __FUNCTION__, to); | 71 | pr_debug("%s: aie=%d\n", __func__, to); |
72 | 72 | ||
73 | tmp = readb(s3c_rtc_base + S3C2410_RTCALM) & ~S3C2410_RTCALM_ALMEN; | 73 | tmp = readb(s3c_rtc_base + S3C2410_RTCALM) & ~S3C2410_RTCALM_ALMEN; |
74 | 74 | ||
@@ -82,7 +82,7 @@ static void s3c_rtc_setpie(int to) | |||
82 | { | 82 | { |
83 | unsigned int tmp; | 83 | unsigned int tmp; |
84 | 84 | ||
85 | pr_debug("%s: pie=%d\n", __FUNCTION__, to); | 85 | pr_debug("%s: pie=%d\n", __func__, to); |
86 | 86 | ||
87 | spin_lock_irq(&s3c_rtc_pie_lock); | 87 | spin_lock_irq(&s3c_rtc_pie_lock); |
88 | tmp = readb(s3c_rtc_base + S3C2410_TICNT) & ~S3C2410_TICNT_ENABLE; | 88 | tmp = readb(s3c_rtc_base + S3C2410_TICNT) & ~S3C2410_TICNT_ENABLE; |
@@ -457,7 +457,7 @@ static int s3c_rtc_probe(struct platform_device *pdev) | |||
457 | struct resource *res; | 457 | struct resource *res; |
458 | int ret; | 458 | int ret; |
459 | 459 | ||
460 | pr_debug("%s: probe=%p\n", __FUNCTION__, pdev); | 460 | pr_debug("%s: probe=%p\n", __func__, pdev); |
461 | 461 | ||
462 | /* find the IRQs */ | 462 | /* find the IRQs */ |
463 | 463 | ||