All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wanlong Gao <wanlong.gao@gmail.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: linux-kernel@vger.kernel.org, trivial@kernel.org, lrg@slimlogic.co.uk
Subject: [PATCH] drivers:regulator:change debug statement be consistent with the style of the rest.
Date: Sun, 17 Apr 2011 08:53:57 +0800	[thread overview]
Message-ID: <4DAA3A25.30501@gmail.com> (raw)
In-Reply-To: <20110416175440.GD25811@opensource.wolfsonmicro.com>



change the "mc13783_regulator_probe" string in the function 
"mc13783_regulator_probe"
to "__func__" for the debug statement be consistent with the style of 
the rest of
the file.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.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

  reply	other threads:[~2011-04-17  0:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Wanlong Gao [this message]
2011-04-17  9:19     ` [PATCH] drivers:regulator:change debug statement be consistent with the style of the rest 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DAA3A25.30501@gmail.com \
    --to=wanlong.gao@gmail.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.