From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [rtc-linux] [PATCH v3 05/16] gpiolib: utilize new cdev_device_add helper function Date: Thu, 16 Mar 2017 17:39:55 +0900 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-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Linus Walleij Cc: Alessandro Zummo , Jan Kara , "linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-pci , Cyrille Pitchen , Jarkko Sakkinen , Alexandre Bounine , Alexandre Belloni , Peter Meerwald-Stadler , linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sean Hefty , Parav Pandit , Peter Huewe , Alexandre Courbot , Lars-Peter Clausen , "James E.J. Bottomley" , Arnd Bergmann , Leon Romanovsky , linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Richard Weinberger , Jason Gunthorpe , Mar List-Id: linux-gpio@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4F2E3802AE for ; Thu, 16 Mar 2017 01:40:11 -0700 (PDT) Date: Thu, 16 Mar 2017 17:39:55 +0900 From: Greg Kroah-Hartman 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-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Linus Walleij Cc: Alessandro Zummo , Jan Kara , "linux-iio@vger.kernel.org" , linux-pci , Cyrille Pitchen , Jarkko Sakkinen , Alexandre Bounine , Alexandre Belloni , Peter Meerwald-Stadler , linux-scsi@vger.kernel.org, Sean Hefty , Parav Pandit , Peter Huewe , Alexandre Courbot , Lars-Peter Clausen , "James E.J. Bottomley" , Arnd Bergmann , Leon Romanovsky , linux-nvdimm@lists.01.org, linux-rdma@vger.kernel.org, Richard Weinberger , Jason Gunthorpe , Marek Vasut , Doug Ledford , Hans Verkuil , Matt Porter , Hal Rosenstock , "linux-media@vger.kernel.org" , Boaz Harrosh , "rtc-linux@googlegroups.com" , Boris Brezillon , Sajjan Vikas C , Linux Input , Marcel Selhorst , Vladimir Zapolskiy , Joe Perches , Alexander Viro , Bjorn Helgaas , Mauro Carvalho Chehab , Dmitry Vyukov , linux-fsdevel@vger.kernel.org, Haggai Eran , Lorenzo Stoakes , "Martin K. Petersen" , Artem Bityutskiy , "linux-gpio@vger.kernel.org" , Dmitry Torokhov , "linux-kernel@vger.kernel.org" , Stephen Bates , Hartmut Knaack , Olof Johansson , "linux-mtd@lists.infradead.org" , Andrew Morton , Brian Norris , David Woodhouse List-ID: 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 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by gmr-mx.google.com with ESMTPS id c123si772329pfa.4.2017.03.16.01.40.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 01:40:10 -0700 (PDT) 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=UTF-8 In-Reply-To: Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.