regulator: Include the device name in the microamps_requested_ file
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Jun 2011 15:22:21 +0000 (16:22 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 9 Jun 2011 18:14:29 +0000 (19:14 +0100)
commite0eaedefda8e14ed3f445f382c568c5d69e4223f
tree34babbd04be428c4e899f374734e3a0aab94794c
parentf5726ae33c382366ea1b23240d5620dcf675d81d
regulator: Include the device name in the microamps_requested_ file

We may have multiple devices requesting a supply with the same name so
include the device name in the generated filename for microamps_requested
to avoid duplicate files.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c