Re: [PATCH v2] misc: mic: replace kfree with put_device
Date
Sun, 11 Oct 2015 14:12:51 -0700
On Sun, Oct 04 2015 at 05:33:47 PM, Geliang Tang <geliangtang@163.com> wrote: > Handle a failed device_register(), replace kfree() with put_device(), > which will call mbus_release_dev() or scif_release_dev().
Could you add the same change to cosm_bus.c too in the same path and resubmit the patch. Thanks.