regulator: max8997: Avoid spaces in regulator names
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 24 Jan 2012 11:31:11 +0000 (12:31 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 Jan 2012 20:00:33 +0000 (20:00 +0000)
commite371ceb89f531280d30cadbdb8371656468705b1
treee70f872a1d2f9685891ccef68b16806d70ac2d02
parent7d38a3cb9b9f6a6d31b1d19e4f07a7c0b71407d5
regulator: max8997: Avoid spaces in regulator names

max8997-pmic instantiated from device tree uses names, not numerical
ids to distinguish between outputs.

Replace spaces with underscores in said names to make it possible to
describe these outputs as regulators in DTS.

Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8997.c