[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220131102248.GX18506@ediswmail.ad.cirrus.com>
Date: Mon, 31 Jan 2022 10:22:48 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
CC: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Mark Brown <broonie@...nel.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
<patches@...nsource.cirrus.com>, <linux-input@...r.kernel.org>
Subject: Re: [PATCH] Input: wm97xx: Simplify resource management
On Sun, Jan 30, 2022 at 09:06:36AM +0100, Christophe JAILLET wrote:
> Since the commit in the Fixes tag below, 'wm->input_dev' is a managed
> resource that doesn't need to be explicitly unregistered or freed (see
> devm_input_allocate_device() documentation)
>
> So, remove some unless line of code to slightly simplify it.
>
> Fixes: c72f61e74073 ("Input: wm97xx: split out touchscreen registering")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists