commit | 1b3de223385d6bf2ab9bf2e9e80aebb26fedd426 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | Mon Jan 05 12:48:41 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Thu Jan 08 20:15:44 2015 +0000 |
tree | df211408227bee0a34a932cfe9bc4263141d8174 | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
regulator: Copy config passed during registration Copy the 'regulator_config' structure passed to regulator_register() function so the driver could safely modify it after parsing init data. The driver may want to change the config as a result of specific init data parsed by regulator core (e.g. when core handled parsing device tree). Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>