[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1804261437040.28147@cbobk.fhfr.pm>
Date: Thu, 26 Apr 2018 14:37:12 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
cc: srinivas.pandruvada@...ux.intel.com, benjamin.tissoires@...hat.com,
linux-kernel@...r.kernel.org, linux-input@...r.kernel.org
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@...il.com>
Applied, thank you.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists