]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/commitdiff
hwspinlock/omap: Add a trace during probe
authorSuman Anna <s-anna@ti.com>
Thu, 6 Jul 2017 16:49:49 +0000 (11:49 -0500)
committerSuman Anna <s-anna@ti.com>
Tue, 11 Dec 2018 18:08:01 +0000 (12:08 -0600)
Add a debug level trace statement in the OMAP HwSpinlock driver
probe function to print a successful registration.

Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/hwspinlock/omap_hwspinlock.c

index 625844e0abefb314941757881599b8365e11f50d..ac4a97cce4131cdb39027f42cff5fd670906b0e3 100644 (file)
@@ -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: