aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-31 11:58:26 +0100
committerMark Brown <broonie@linaro.org>2013-09-17 00:27:53 +0100
commitb33e46bcdc4e598d738ed12a5a7906be4e11d786 (patch)
tree11028144c3d74bc409f014660fe86aaac9600a21 /include/linux/kernel.h
parentregulator: wm831x-ldo: Use devm_request_threaded_irq() (diff)
downloadlinux-dev-b33e46bcdc4e598d738ed12a5a7906be4e11d786.tar.xz
linux-dev-b33e46bcdc4e598d738ed12a5a7906be4e11d786.zip
regulator: core: Provide managed regulator registration
Many regulator drivers have a remove function that consists solely of calling regulator_unregister() so provide a devm_regulator_register() in order to allow this repeated code to be removed and help eliminate error handling code. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions