diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-03 20:46:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-04 11:43:26 +0100 |
commit | 65f26846b90611742f3b407cc538a1cad33abde8 (patch) | |
tree | 4da36021e30f3428f6382673eb45343450b78a03 /drivers/regulator/wm8350-regulator.c | |
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>
Diffstat (limited to 'drivers/regulator/wm8350-regulator.c')
0 files changed, 0 insertions, 0 deletions