Re: [PATCH] ASoC: fsl: Fix error handling if platform_device_addfails

From: Mark Brown
Date: Tue Sep 20 2011 - 08:04:07 EST


On Tue, Sep 20, 2011 at 03:09:00PM +0800, Axel Lin wrote:
> Call platform_device_put() instead of platform_device_unregister() if
> platform_device_add() fails.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/