linux_dsm_epyc7002/sound/soc/davinci
Julia Lawall cd0ff7eff0 ASoC: davinci-i2s.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:56 +00:00
..
davinci-evm.c ASoC: davinci: Add .owner to struct snd_soc_card 2011-12-22 17:34:34 +00:00
davinci-i2s.c ASoC: davinci-i2s.c: use devm_ functions 2012-01-02 13:07:56 +00:00
davinci-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-mcasp.c ASoC: davinci-mcasp.c: use devm_ functions 2012-01-02 13:07:51 +00:00
davinci-mcasp.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-pcm.c ASoC: Convert davinci directory to module_platform_driver 2011-11-25 13:15:31 +00:00
davinci-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-sffsdr.c ASoC: davinci: Add .owner to struct snd_soc_card 2011-12-22 17:34:34 +00:00
davinci-vcif.c ASoC: davinci-vcif.c: use devm_ functions 2012-01-02 13:07:46 +00:00
Kconfig Drop default from "DM365 codec select" choice 2011-10-13 18:19:31 +02:00
Makefile ASoC: DaVinci: Voice Codec Interface 2010-03-12 11:12:21 +00:00