Messages in this thread | | | Date | Mon, 31 Jan 2022 10:22:48 +0000 | From | Charles Keepax <> | 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@wanadoo.fr> > ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks, Charles
| |