From: Samuel Ortiz on
On Tue, Aug 03, 2010 at 04:34:13PM +0800, Axel Lin wrote:
> In the case of goto err2, what we want is to call
> platform_device_del() instead of platform_device_unregister().
> Otherwise, we call platform_device_put() twice.
Patch applied, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/