From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.linuxfoundation.org ([140.211.169.12]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coQxT-0004PA-R9 for linux-mtd@lists.infradead.org; Thu, 16 Mar 2017 08:40:33 +0000 Date: Thu, 16 Mar 2017 17:39:55 +0900 From: Greg Kroah-Hartman To: Linus Walleij Cc: "rtc-linux@googlegroups.com" , Dan Williams , Alexander Viro , Johannes Thumshirn , Jan Kara , Arnd Bergmann , Sajjan Vikas C , Dmitry Torokhov , Alexandre Courbot , Peter Huewe , Marcel Selhorst , Jarkko Sakkinen , Jason Gunthorpe , Olof Johansson , Doug Ledford , Sean Hefty , Hal Rosenstock , Dmitry Vyukov , Haggai Eran , Parav Pandit , Leon Romanovsky , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Hans Verkuil , Mauro Carvalho Chehab , Artem Bityutskiy , Richard Weinberger , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Cyrille Pitchen , Matt Porter , Alexandre Bounine , Andrew Morton , Joe Perches , Lorenzo Stoakes , Vladimir Zapolskiy , Alessandro Zummo , Alexandre Belloni , Boaz Harrosh , "James E.J. Bottomley" , "Martin K. Petersen" , Stephen Bates , Bjorn Helgaas , linux-pci , linux-scsi@vger.kernel.org, "linux-mtd@lists.infradead.org" , "linux-media@vger.kernel.org" , "linux-iio@vger.kernel.org" , linux-rdma@vger.kernel.org, "linux-gpio@vger.kernel.org" , Linux Input , linux-nvdimm@lists.01.org, linux-fsdevel@vger.kernel.org, "linux-kernel@vger.kernel.org" , Logan Gunthorpe Subject: Re: [rtc-linux] [PATCH v3 05/16] gpiolib: utilize new cdev_device_add helper function Message-ID: <20170316083955.GA18265@kroah.com> References: <1488783873-2614-1-git-send-email-logang@deltatee.com> <1488783873-2614-6-git-send-email-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Mar 14, 2017 at 04:28:28PM +0100, Linus Walleij wrote: > On Mon, Mar 6, 2017 at 8:04 AM, Logan Gunthorpe wrote: > > > Replace the open coded registration of the cdev and dev with the > > new device_add_cdev() helper. The helper replaces a common pattern by > > taking the proper reference against the parent device and adding both > > the cdev and the device. > > > > Signed-off-by: Logan Gunthorpe > > Reviewed-by: Linus Walleij > > Please inform me if you plan to merge this into the device core > tree or similar, or whether I should apply it for like v4.13 after merging > the core patch or so. I'll take this through my tree, no need to bother you with it. thanks, greg k-h