linux/sound/soc
Julia Lawall 96d31e2b12 ASoC: davinci-mcasp.c: use devm_ functions
The various devm_ functions allocate memory that is released when a driver
detaches.  This patch uses devm_kzalloc, devm_request_mem_region and
devm_ioremap for data that is allocated in the probe function of a platform
device and is only freed in the remove function.

In this case, the original code did not contain a call to iounmap, nor does
one appear anywhere else in the file.  I have assumed that it is safe to
use devm_ioremap for the allocation in any case.

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-01-02 13:07:51 +00:00
..
atmel ASoC: atmel: Add .owner to struct snd_soc_card 2011-12-22 17:34:33 +00:00
au1x ASoC: au1x: Add .owner to struct snd_soc_card 2011-12-23 11:16:29 +00:00
blackfin ASoC: blackfin: Add .owner to struct snd_soc_card 2011-12-22 17:34:34 +00:00
codecs ASoC: Convert tpa6130a2 to devm_kzalloc() 2012-01-02 12:28:13 +00:00
davinci ASoC: davinci-mcasp.c: use devm_ functions 2012-01-02 13:07:51 +00:00
ep93xx ASoC: ep93xx: Add .owner to struct snd_soc_card 2011-12-22 17:34:35 +00:00
fsl ASoC: fsl: Add .owner to struct snd_soc_card 2011-12-22 17:34:32 +00:00
imx ASoC: imx: Add .owner to struct snd_soc_card 2011-12-23 11:16:43 +00:00
jz4740 ASoC: jz4740: Add .owner to struct snd_soc_card 2011-12-23 11:16:57 +00:00
kirkwood ASoC: Convert kirkwood-t5325 to table based DAPM init 2011-12-28 11:37:37 +00:00
mid-x86 ASoC: mid-x86: Add .owner to struct snd_soc_card 2011-12-23 11:32:09 +00:00
mxs ASoC: mxs: Add .owner to struct snd_soc_card 2011-12-28 17:20:48 +00:00
nuc900 ASoC: nuc900: Add .owner to struct snd_soc_card 2011-12-23 11:16:58 +00:00
omap ASoC: omap-mcbsp: Enable FIFO usage on OMAP4 2011-12-17 09:31:28 +00:00
pxa ASoC: Convert corgi to table based DAPM and control init 2011-12-30 10:44:45 +00:00
s6000 ASoC: s6000: Add .owner to struct snd_soc_card 2011-12-23 11:32:00 +00:00
samsung ASoC: Add trivial pm_runtime usage to Samsung DAI drivers 2011-12-23 12:08:32 +00:00
sh ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
tegra ASoC: tegra: Add .owner to struct snd_soc_card 2011-12-22 17:34:35 +00:00
txx9 ASoC: txx9: Add .owner to struct snd_soc_card 2011-12-23 11:32:08 +00:00
Kconfig ASoC: Remove LZO cache type 2011-11-10 13:08:09 +00:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
soc-cache.c ASoC: Remove rbtree register cache 2011-12-13 00:20:28 +08:00
soc-core.c ASoC: Declare soc_new_pcm() properly 2011-12-22 17:34:25 +00:00
soc-dapm.c ASoC: Take a pm_runtime reference on DAPM devices that are enabled 2011-12-08 09:22:36 +08:00
soc-io.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
soc-jack.c ASoC: Remove ifdefs for GPIO_SYSFS 2011-12-21 00:12:28 +00:00
soc-pcm.c ASoC: Hold runtime PM references to components of active DAIs 2011-12-08 09:21:45 +08:00
soc-utils.c ASoC: Provide a more complete DMA driver stub 2011-12-06 10:05:07 +00:00