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)
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

Simple merge