regulator: fix sysfs name collision between dummy and fixed dummy regulator
authorShawn Guo <shawn.guo@linaro.org>
Sat, 31 Mar 2012 08:33:31 +0000 (16:33 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 31 Mar 2012 10:26:17 +0000 (11:26 +0100)
commit5f12760d289fd2da685cb54eebb08c107b146872
tree41b02d2154193135f66681108f91f397fff36b77
parente032b376551a61662b20a2c8544fbbc568ab2e7f
regulator: fix sysfs name collision between dummy and fixed dummy regulator

When regulator_register_fixed() is being used to register fixed dummy
regulator, the following line will be seen in the boot log.  And the
sysfs entry for fixed dummy regulator is not shown.

  dummy: Failed to create debugfs directory

The patch renames the fixed dummy supply to "fixed-dummy" to avoid
the name collision with dummy regulator.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/fixed-helper.c