regulator: core: Constify the regulator_desc passed in when registering
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Apr 2012 19:46:53 +0000 (20:46 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Apr 2012 10:43:26 +0000 (11:43 +0100)
Drivers should be able to declare their descriptors const and the framework
shouldn't ever be modifying the desciptor. Make the parameter and the
pointer in regulator_dev const to enforce this.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found