diff options
author | Timur Tabi <timur@freescale.com> | 2012-09-14 16:14:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-18 22:32:44 -0400 |
commit | 13c57e5b868b4f023f6436d8c6a079eaffd7f3a8 (patch) | |
tree | 22120beedac85988c1c7abe794f7ddd8b635bb6c /crypto/Kconfig | |
parent | d41789b2660e5b18b8401bf83ebcd502916c2cb5 (diff) | |
download | linux-13c57e5b868b4f023f6436d8c6a079eaffd7f3a8.tar.bz2 |
ASoC: fsl: use snd_soc_register_card to register the card
Use snd_soc_register_card() instead of platform_device_alloc("soc-audio")
to register the sound card from the machine drivers. The use of
platform_device_alloc is deprecated.
Although several other drivers still use platform_device_alloc(), the
Freescale drivers were not using it to pass driver data. Instead of fixing
the driver data usage, it's better to replace the deprecated code.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions