Axel Lin 09ff21e0f6 mfd: Fix pcap_add_subdev error path
1. return -ENOMEM if platform_device_alloc() fail.
2. call platform_device_put() if platform_device_add() fail.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-10-29 00:28:58 +02:00
..
2010-10-28 06:33:27 -06:00
2010-10-28 20:31:50 +02:00
2010-10-26 16:52:14 -07:00
2010-10-29 00:28:58 +02:00
2010-10-28 09:44:56 -07:00