mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
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>
This commit is contained in:
parent
d0bddb512d
commit
521fca18e8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue