summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/dummy.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-08-07 21:01:37 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-08 14:31:53 +0100
commit215b8b055de7dad26ab6c10f70130934309cb696 (patch)
tree723db8846e03ca35e4f464f8dbcda7c9554c271b /drivers/regulator/dummy.c
parent2f6c797f84fd764efb5eeb7cbb6a80a7244bd13c (diff)
downloadlinux-215b8b055de7dad26ab6c10f70130934309cb696.tar.gz
linux-215b8b055de7dad26ab6c10f70130934309cb696.tar.bz2
linux-215b8b055de7dad26ab6c10f70130934309cb696.zip
regulator: make the dummy regulator's print_constraint more helpful
This prevents the output of just dummy: in the boot log. Now it says: regulator-dummy: no parameters which at least doesn't make it look like an accidental printk and also doesn't only use "dummy" which could mean anything. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/dummy.c')
-rw-r--r--drivers/regulator/dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c
index 86f655c7f7a1..03a1d7c11ef2 100644
--- a/drivers/regulator/dummy.c
+++ b/drivers/regulator/dummy.c
@@ -30,7 +30,7 @@ static struct regulator_init_data dummy_initdata;
static struct regulator_ops dummy_ops;
static struct regulator_desc dummy_desc = {
- .name = "dummy",
+ .name = "regulator-dummy",
.id = -1,
.type = REGULATOR_VOLTAGE,
.owner = THIS_MODULE,