public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]drivers:regulator:change the dev_dbg in the probe function
@ 2011-04-16 15:42 wanlong.gao
  2011-04-16 17:54 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: wanlong.gao @ 2011-04-16 15:42 UTC (permalink / raw)
  To: linux-kernel, trivial; +Cc: lrg, broonie, Wanlong Gao

From: Wanlong Gao <wanlong.gao@gmail.com>

change the function name string to "%s".

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
 drivers/regulator/mc13783-regulator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c
index 23249cb..b8a00c7 100644
--- a/drivers/regulator/mc13783-regulator.c
+++ b/drivers/regulator/mc13783-regulator.c
@@ -341,7 +341,7 @@ static int __devinit mc13783_regulator_probe(struct platform_device *pdev)
 	struct mc13783_regulator_init_data *init_data;
 	int i, ret;
 
-	dev_dbg(&pdev->dev, "mc13783_regulator_probe id %d\n", pdev->id);
+	dev_dbg(&pdev->dev, "%s id %d\n", __func__, pdev->id);
 
 	priv = kzalloc(sizeof(*priv) +
 			pdata->num_regulators * sizeof(priv->regulators[0]),
-- 
1.7.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-10 12:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 15:42 [PATCH]drivers:regulator:change the dev_dbg in the probe function wanlong.gao
2011-04-16 17:54 ` Mark Brown
2011-04-17  0:53   ` [PATCH] drivers:regulator:change debug statement be consistent with the style of the rest Wanlong Gao
2011-04-17  9:19     ` Harry Wei
2011-04-17 10:11       ` Wanlong Gao
     [not found]         ` <BANLkTi=vqFs11=VBk=2jxH+mDY3xBxwj7g@mail.gmail.com>
2011-04-17 10:22           ` Harry Wei
2011-05-10  8:12     ` Jiri Kosina
2011-05-10 12:36       ` Wanlong Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox