Re: [PATCH] hid: intel-ish-hid: use put_device() instead of kfree()
From: Jiri Kosina
Date: Thu Apr 26 2018 - 08:37:24 EST
On Fri, 30 Mar 2018, Arvind Yadav wrote:
> Never directly free @dev after calling device_register(), even
> if it returned an error. Always use put_device() to give up the
> reference initialized.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
Applied, thank you.
--
Jiri Kosina
SUSE Labs