[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YvQv/1PvZq0Gnv8x@google.com>
Date: Wed, 10 Aug 2022 15:23:59 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-input@...r.kernel.org, Hans de Goede <hdegoede@...hat.com>,
"jingle.wu" <jingle.wu@....com.tw>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] Input: elan_i2c - convert to use dev_groups
On Tue, Aug 02, 2022 at 06:28:54PM +0200, Greg Kroah-Hartman wrote:
> There is no need for a driver to individually add/create device groups,
> the driver core will do it automatically for you. Convert the elan_i2c
> driver to use the dev_groups pointer instead of manually calling the
> driver core to create the group and have it be cleaned up later on by
> the devm core.
>
> Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Cc: Hans de Goede <hdegoede@...hat.com>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: "jingle.wu" <jingle.wu@....com.tw>
> Cc: linux-input@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists