Subject: Re: [PATCH 5/7] ASoC: fsl: convert pcm030-audio-fabric to a platform-driver

From: Mark Brown <[email-masked]>
Date: Tue, 18 Sep 2012 23:03:24 -0400

On Thu, Sep 13, 2012 at 05:43:14PM -0400, Eric Millbrandt wrote:

> +static int __devexit pcm030_fabric_remove(struct platform_device *op)
> +{
> +	struct platform_device *pdev = platform_get_drvdata(op);
> +
> +	platform_device_unregister(pdev);
> +
> +	return 0;
> +}

This seems really confused...  why is a platform device registering
another platform device?  Do you mean to convert to
snd_soc_register_card()?