-
由 Axel Lin 提交于
This patch fixes da903x_add_subdevs error path: 1. return -ENOMEM if platform_device_alloc() fail. 2. call platform_device_put() if platform_device_add() fail. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NEric Miao <eric.y.miao@gmail.com> Acked-by: NMike Rapoport <mike@compulab.co.il> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
b59cedef