Commit d4d98bba authored by Suman Anna's avatar Suman Anna Committed by Bjorn Andersson

hwspinlock/omap: Add a trace during probe

Add a debug level trace statement in the OMAP HwSpinlock driver
probe function to print the number of hwlocks on a successful
registration.
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 6fa154e2
...@@ -140,6 +140,9 @@ static int omap_hwspinlock_probe(struct platform_device *pdev) ...@@ -140,6 +140,9 @@ static int omap_hwspinlock_probe(struct platform_device *pdev)
if (ret) if (ret)
goto reg_fail; goto reg_fail;
dev_dbg(&pdev->dev, "Registered %d locks with HwSpinlock core\n",
num_locks);
return 0; return 0;
reg_fail: reg_fail:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment