ASoC: palm27x: register card in platform_driver probe
authorMike Dunn <mikedunn@newsguy.com>
Sat, 29 Dec 2012 18:53:18 +0000 (10:53 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Jan 2013 13:07:01 +0000 (13:07 +0000)
commit01a61f490cab732542753db69e17e5db657d185a
tree508af8d577f1160c9510684af7b91d7ee8a5d874
parent016fb39c98a71539d9abd5ee66cc1103a32fbb34
ASoC: palm27x: register card in platform_driver probe

Remove creation of an soc-audio device from the machine platform_driver probe
function, and add a call to snd_soc_register_card() instead.

The current code still works, but this mechanism has been deprecated, if I'm not
mistaken.  The ASoC core code produces the warning "ASoC: machine Palm/PXA27x
should use snd_soc_register_card()"

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/palm27x.c