projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0bddb5
)
rtc: hctosys: use function name in the error log
author
Aaro Koskinen
<
[email protected]
>
Thu, 16 Apr 2015 19:45:54 +0000
(12:45 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 17 Apr 2015 13:04:01 +0000
(09:04 -0400)
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]
>
drivers/rtc/hctosys.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/hctosys.c
b/drivers/rtc/hctosys.c
index fb4251de7ce1fda2ae7cfe51dc7a1c31d1696f00..91fb5f3c1051e6dbcfcedb54436ee97361a0a5eb 100644
(file)
--- 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;
}