summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/internal.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-01-05 12:48:41 +0100
committerMark Brown <broonie@kernel.org>2015-01-08 21:15:44 +0100
commit1b3de223385d6bf2ab9bf2e9e80aebb26fedd426 (patch)
treedf211408227bee0a34a932cfe9bc4263141d8174 /drivers/regulator/internal.h
parentLinux 3.19-rc1 (diff)
downloadlinux-1b3de223385d6bf2ab9bf2e9e80aebb26fedd426.tar.xz
linux-1b3de223385d6bf2ab9bf2e9e80aebb26fedd426.zip
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>
Diffstat (limited to 'drivers/regulator/internal.h')
0 files changed, 0 insertions, 0 deletions