aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm5100.c
diff options
context:
space:
mode:
authorGravatar Julia Lawall <Julia.Lawall@lip6.fr> 2015-07-19 21:12:16 +0200
committerGravatar Mark Brown <broonie@kernel.org> 2015-07-20 18:17:08 +0100
commit4313489c25622b05adac55dbb9590fb5674c3f45 (patch)
tree680978fa1a4aa2701b0cb027114acf88e3345800 /sound/soc/codecs/wm5100.c
parentLinux 4.2-rc2 (diff)
downloadlinux-4313489c25622b05adac55dbb9590fb5674c3f45.tar.gz
linux-4313489c25622b05adac55dbb9590fb5674c3f45.tar.bz2
linux-4313489c25622b05adac55dbb9590fb5674c3f45.zip
ASoC: ux500: adjust devm usage
The explicit call to devm_regulator_put in the probe and remove functions does not seem to be necessary. In particular, the functions prcmu_qos_remove_requirement and ux500_msp_i2s_cleanup_msp in the remove function seem to do nothing that can interfere with devm_regulator_put, making it safe to allow devm_regulator_put to occur after the end of the remove function. Convert the calls to clk_get to devm_clk_get, and remove the corresponding calls to clk_put in the probe and remove functions. Replace various gotos by direct returns, and drop unneeded labels. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm5100.c')
0 files changed, 0 insertions, 0 deletions