Commit 521fca18 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Linus Torvalds

rtc: hctosys: use function name in the error log

Use function name in the error log instead of __FILE__.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d0bddb51
...@@ -33,7 +33,7 @@ static int __init rtc_hctosys(void) ...@@ -33,7 +33,7 @@ static int __init rtc_hctosys(void)
if (rtc == NULL) { if (rtc == NULL) {
pr_info("%s: unable to open rtc device (%s)\n", pr_info("%s: unable to open rtc device (%s)\n",
__FILE__, CONFIG_RTC_HCTOSYS_DEVICE); __func__, CONFIG_RTC_HCTOSYS_DEVICE);
goto err_open; goto err_open;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment