summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-04-17 04:53:57 +0400
committerJiri Kosina <jkosina@suse.cz>2011-05-10 12:11:29 +0400
commitc719864f15676af92b705589c93ba1468b89cd24 (patch)
treef9f95feee76714bc18b5efe2738443fbc12c5a3c
parent3d1c89b49119820a60c03e718108c553ce9e6b22 (diff)
downloadlinux-c719864f15676af92b705589c93ba1468b89cd24.tar.xz
regulator: change debug statement be consistent with the style of the rest
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> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/regulator/mc13783-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c
index 23249cb0a8bd..b8a00c7fa441 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]),