From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Gregory Fong <Gregory.Fong@virginorbit.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Arnd Bergmann <arnd@arndb.de>, Jonathan Corbet <corbet@lwn.net>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Subject: Re: [PATCH] misc: Implement devm_misc_register
Date: Tue, 9 May 2017 07:37:33 +0200 [thread overview]
Message-ID: <20170509053733.GA22542@kroah.com> (raw)
In-Reply-To: <1494296848-91232-1-git-send-email-gregory.fong@virginorbit.com>
On Tue, May 09, 2017 at 02:27:48AM +0000, Gregory Fong wrote:
> Add device managed devm_misc_register() to allow simplifying some
> miscdevice code.
>
> Signed-off-by: Gregory Fong <gregory.fong@virginorbit.com>
> ---
> This seemed like it would be handy for removing a large chunk of the cleanup
> code in various miscdevice users. Let me know whether you think it'd be worth
> going ahead changing this throughout the codebase where appropriate.
I'd like to see how this is actually used before accepting it, as we
don't like adding apis that do not have any users. So care to make this
a patch series, first one with this change, and the rest converting some
drivers to use it?
thanks,
greg k-h
prev parent reply other threads:[~2017-05-09 5:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 2:27 [PATCH] misc: Implement devm_misc_register Gregory Fong
2017-05-09 5:37 ` Greg Kroah-Hartman [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=20170509053733.GA22542@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Gregory.Fong@virginorbit.com \
--cc=arnd@arndb.de \
--cc=corbet@lwn.net \
--cc=linux-doc@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