]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: make the dummy regulator's print_constraint more helpful
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 7 Aug 2012 19:01:37 +0000 (21:01 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Aug 2012 13:31:53 +0000 (14:31 +0100)
commit068543df414f7ef67ebfd1f0d13151382fce4524
tree723db8846e03ca35e4f464f8dbcda7c9554c271b
parent0bccb5d7cf8855a1dd3c39e490496c18616bc168
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>
drivers/regulator/core.c
drivers/regulator/dummy.c