It is useful to have a message indicating that the pwm driver has
been successfully registered.

Signed-off-by: Fabio Estevam <fabio.este...@freescale.com>
---
 drivers/pwm/pwm-imx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index 2a0b353..a112e9e 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -192,6 +192,8 @@ static int __devinit imx_pwm_probe(struct platform_device 
*pdev)
                return ret;
 
        platform_set_drvdata(pdev, imx);
+
+       dev_info(&pdev->dev, "driver registered\n");
        return 0;
 }
 
-- 
1.7.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to