summaryrefslogtreecommitdiff
path: root/include/linux/regulator/driver.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-07-05 14:19:42 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-05 13:15:40 +0100
commite2c98eaf928a2a0ecaca1db9aa5dc56a36699d9f (patch)
tree705a66684c47b0f807ab652c7504d93f2db7edc2 /include/linux/regulator/driver.h
parente113d792d56d4b720b3d84c122b6af84c3bfa094 (diff)
downloadlinux-3.10-e2c98eaf928a2a0ecaca1db9aa5dc56a36699d9f.tar.gz
linux-3.10-e2c98eaf928a2a0ecaca1db9aa5dc56a36699d9f.tar.bz2
linux-3.10-e2c98eaf928a2a0ecaca1db9aa5dc56a36699d9f.zip
regulator: core: remove sysfs entry properly in regulator_put
With changes introduced by commit 222cc7b (regulator: core: Allow multiple requests of a single supply mapping) on create_regulator, regulator_put needs a corresponding update on sysfs entry removing. Also regulator->dev still needs to get assigned in create_regulator, otherwise, sysfs_remove_link call in regulator_put will get bypassed. Reported-by: Fabio Estevam <festevam@gmail.com> Tested-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator/driver.h')
0 files changed, 0 insertions, 0 deletions