Re: [PATCH v2] misc: mic: replace kfree with put_device

From: Ashutosh Dixit
Date: Sun Oct 11 2015 - 17:12:58 EST


On Sun, Oct 04 2015 at 05:33:47 PM, Geliang Tang <geliangtang@xxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/