[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170509053733.GA22542@kroah.com>
Date: Tue, 9 May 2017 07:37:33 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Gregory Fong <Gregory.Fong@...ginorbit.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Jonathan Corbet <corbet@....net>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>
Subject: Re: [PATCH] misc: Implement devm_misc_register
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@...ginorbit.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
Powered by blists - more mailing lists