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-rdma@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