clk: renesas: cpg-mssr: Remove bogus commas from error messages
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 18 Oct 2016 13:59:13 +0000 (15:59 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Nov 2016 19:40:06 +0000 (20:40 +0100)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/renesas-cpg-mssr.c

index 057bb8759e38ab53e8a1f7fd55fe18831cbcb286..bdd46fb08d387869fcf4c8b89f4f14514c8504fc 100644 (file)
@@ -308,7 +308,7 @@ static void __init cpg_mssr_register_core_clk(const struct cpg_core_clk *core,
        return;
 
 fail:
-       dev_err(dev, "Failed to register %s clock %s: %ld\n", "core,",
+       dev_err(dev, "Failed to register %s clock %s: %ld\n", "core",
                core->name, PTR_ERR(clk));
 }
 
@@ -376,7 +376,7 @@ static void __init cpg_mssr_register_mod_clk(const struct mssr_mod_clk *mod,
        return;
 
 fail:
-       dev_err(dev, "Failed to register %s clock %s: %ld\n", "module,",
+       dev_err(dev, "Failed to register %s clock %s: %ld\n", "module",
                mod->name, PTR_ERR(clk));
        kfree(clock);
 }