Re: [PATCH] misc: mic: replace kfree with put_device
From: Greg Kroah-Hartman
Date: Sun Oct 04 2015 - 07:57:18 EST
On Wed, Sep 30, 2015 at 12:58:22AM +0800, Geliang Tang wrote:
> Handle a failed device_register(), replace kfree() with put_device(),
> which will call mbus_release_dev() or scif_release_dev().
>
> Signed-off-by: Geliang Tang <geliangtang@xxxxxxx>
> ---
> drivers/misc/mic/bus/mic_bus.c | 2 +-
> drivers/misc/mic/bus/scif_bus.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Due to the recent changes in this driver, this patch doesn't apply
anymore. Can you please refresh it and resend?
thanks,
greg k-h
--
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/