aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaro Koskinen <[email protected]>2015-04-16 12:45:54 -0700
committerLinus Torvalds <[email protected]>2015-04-17 09:04:01 -0400
commit521fca18e828cddc94535a1ea5ac33460f1de679 (patch)
treef90407a8838694fe18f26f7c11686411217f10fe
parentd0bddb512d9c8e1adefc7416ef6c71cba05d62c8 (diff)
rtc: hctosys: use function name in the error log
Use function name in the error log instead of __FILE__. Signed-off-by: Aaro Koskinen <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--drivers/rtc/hctosys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/hctosys.c b/drivers/rtc/hctosys.c
index fb4251de7ce1..91fb5f3c1051 100644
--- a/drivers/rtc/hctosys.c
+++ b/drivers/rtc/hctosys.c
@@ -33,7 +33,7 @@ static int __init rtc_hctosys(void)
if (rtc == NULL) {
pr_info("%s: unable to open rtc device (%s)\n",
- __FILE__, CONFIG_RTC_HCTOSYS_DEVICE);
+ __func__, CONFIG_RTC_HCTOSYS_DEVICE);
goto err_open;
}