From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-input@vger.kernel.org, Hans de Goede <hdegoede@redhat.com>,
"jingle.wu" <jingle.wu@emc.com.tw>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] Input: elan_i2c - convert to use dev_groups
Date: Wed, 10 Aug 2022 15:23:59 -0700 [thread overview]
Message-ID: <YvQv/1PvZq0Gnv8x@google.com> (raw)
In-Reply-To: <20220802162854.3015369-1-gregkh@linuxfoundation.org>
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@gmail.com>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: "jingle.wu" <jingle.wu@emc.com.tw>
> Cc: linux-input@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Applied, thank you.
--
Dmitry
prev parent reply other threads:[~2022-08-10 22:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-02 16:28 [PATCH v2] Input: elan_i2c - convert to use dev_groups Greg Kroah-Hartman
2022-08-10 22:23 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YvQv/1PvZq0Gnv8x@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=jingle.wu@emc.com.tw \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).