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>
 
        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;
        }