Messages in this thread | | | Date | Thu, 26 Apr 2018 14:37:12 +0200 (CEST) | From | Jiri Kosina <> | Subject | Re: [PATCH] hid: intel-ish-hid: use put_device() instead of kfree() |
| |
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@gmail.com>
Applied, thank you.
-- Jiri Kosina SUSE Labs
| |