soc: ti: pruss: Correct the pruss_clk_init error trace text

The pruss_clk_init() function can register more than one clock.
Correct the existing misleading error trace upon a failure within
this function.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
This commit is contained in:
Suman Anna 2021-01-24 20:51:37 -08:00 committed by Santosh Shilimkar
parent 17ad466259
commit f97a8a3435

View File

@ -273,7 +273,7 @@ static int pruss_probe(struct platform_device *pdev)
ret = pruss_clk_init(pruss, child);
if (ret) {
dev_err(dev, "failed to setup coreclk-mux\n");
dev_err(dev, "pruss_clk_init failed, ret = %d\n", ret);
goto node_put;
}