diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2015-04-16 15:45:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:01 -0400 |
commit | 521fca18e828cddc94535a1ea5ac33460f1de679 (patch) | |
tree | f90407a8838694fe18f26f7c11686411217f10fe /drivers/rtc | |
parent | d0bddb512d9c8e1adefc7416ef6c71cba05d62c8 (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 <aaro.koskinen@iki.fi>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
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')
-rw-r--r-- | drivers/rtc/hctosys.c | 2 |
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) | |||
33 | 33 | ||
34 | if (rtc == NULL) { | 34 | if (rtc == NULL) { |
35 | pr_info("%s: unable to open rtc device (%s)\n", | 35 | pr_info("%s: unable to open rtc device (%s)\n", |
36 | __FILE__, CONFIG_RTC_HCTOSYS_DEVICE); | 36 | __func__, CONFIG_RTC_HCTOSYS_DEVICE); |
37 | goto err_open; | 37 | goto err_open; |
38 | } | 38 | } |
39 | 39 | ||