From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754912AbdEIFhp (ORCPT ); Tue, 9 May 2017 01:37:45 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:52944 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752902AbdEIFhn (ORCPT ); Tue, 9 May 2017 01:37:43 -0400 Date: Tue, 9 May 2017 07:37:33 +0200 From: Greg Kroah-Hartman To: Gregory Fong Cc: "linux-kernel@vger.kernel.org" , Arnd Bergmann , Jonathan Corbet , "linux-doc@vger.kernel.org" Subject: Re: [PATCH] misc: Implement devm_misc_register Message-ID: <20170509053733.GA22542@kroah.com> References: <1494296848-91232-1-git-send-email-gregory.fong@virginorbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1494296848-91232-1-git-send-email-gregory.fong@virginorbit.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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