2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/sound/soc/ux500
Julia Lawall 4313489c25 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>
2015-07-20 18:17:08 +01:00
..
Kconfig sound updates for v3.10-rc1 2013-05-03 09:10:23 -07:00
Makefile ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500_ab8500.c ASoC: mop500_ab8500: Add a NULL pointer check in mop500_ab8500_machine_init() 2015-05-21 12:05:48 +01:00
mop500_ab8500.h ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ux500_msp_dai.c ASoC: ux500: adjust devm usage 2015-07-20 18:17:08 +01:00
ux500_msp_dai.h ASoC: ux500: Move DMA parameters into ux500_msp 2013-06-12 17:01:42 +01:00
ux500_msp_i2s.c ASoC: ux500: Fix sparse non static symbol warning 2014-01-08 12:22:18 +00:00
ux500_msp_i2s.h ARM: ux500: Don't use enums for MSP IDs - for easy DT conversion 2014-01-07 15:36:09 +00:00
ux500_pcm.c ASoC: dmaengine_pcm: Make FLAG_NO_RESIDUE internal 2015-04-27 19:26:07 +01:00
ux500_pcm.h ASoC: ux500_pcm: Use the same snd_pcm_hardware for playback and capture 2013-04-07 19:51:05 +01:00