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: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
6fa154e282
commit
d4d98bba3e
|
@ -140,6 +140,9 @@ static int omap_hwspinlock_probe(struct platform_device *pdev)
|
|||
if (ret)
|
||||
goto reg_fail;
|
||||
|
||||
dev_dbg(&pdev->dev, "Registered %d locks with HwSpinlock core\n",
|
||||
num_locks);
|
||||
|
||||
return 0;
|
||||
|
||||
reg_fail:
|
||||
|
|
Loading…
Reference in New Issue
Block a user