Messages in this thread |  | | From | Tabi Timur-B04825 <> | | Subject | Re: [PATCH] ASoC: fsl: Fix error handling if platform_device_add fails | | Date | Tue, 27 Sep 2011 02:08:44 +0000 |
| |
Axel Lin wrote: > Call platform_device_put() instead of platform_device_unregister() if > platform_device_add() fails.
What's wrong with calling platform_device_unregister()?
-- Timur Tabi Linux kernel developer at Freescale
|  |