[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1344273150-22927-2-git-send-email-fabio.estevam@freescale.com>
Date: Mon, 6 Aug 2012 14:12:30 -0300
From: Fabio Estevam <fabio.estevam@...escale.com>
To: <thierry.reding@...onic-design.de>
CC: <shawn.guo@...aro.org>, <kernel@...gutronix.de>,
<linux-kernel@...r.kernel.org>,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: [PATCH 2/2] pwm: pwm-imx: Provide information that driver is registered
It is useful to have a message indicating that the pwm driver has
been successfully registered.
Signed-off-by: Fabio Estevam <fabio.estevam@...escale.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists