commit | 65f26846b90611742f3b407cc538a1cad33abde8 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Apr 03 20:46:53 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Apr 04 11:43:26 2012 +0100 |
tree | 4da36021e30f3428f6382673eb45343450b78a03 | |
parent | dd775ae2549217d3ae09363e3edb305d0fa19928 [diff] |
regulator: core: Constify the regulator_desc passed in when registering 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>