lkml.org 
[lkml]   [2012]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] pwm: pwm-imx: Provide information that driver is registered
Date
It is useful to have a message indicating that the pwm driver has
been successfully registered.

Signed-off-by: Fabio Estevam <fabio.estevam@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



\
 
 \ /
  Last update: 2012-08-06 20:41    [W:0.040 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site