OSDN Git Service

clocksource/drivers/timer-vt8500: Remove duplicate function name
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 13 Oct 2018 10:22:22 +0000 (13:22 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 18 Dec 2018 21:22:23 +0000 (22:22 +0100)
We print the function name twice in a row in the error message so I've
removed one.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-vt8500.c

index e0f7489..c3aff1a 100644 (file)
@@ -145,7 +145,7 @@ static int __init vt8500_timer_init(struct device_node *np)
 
        ret = clocksource_register_hz(&clocksource, VT8500_TIMER_HZ);
        if (ret) {
-               pr_err("%s: vt8500_timer_init: clocksource_register failed for %s\n",
+               pr_err("%s: clocksource_register failed for %s\n",
                       __func__, clocksource.name);
                return ret;
        }