[rtc-linux] [PATCH v3 05/16] gpiolib: utilize new cdev_device_add helper function
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Thu Mar 16 01:39:55 PDT 2017
On Tue, Mar 14, 2017 at 04:28:28PM +0100, Linus Walleij wrote:
> On Mon, Mar 6, 2017 at 8:04 AM, Logan Gunthorpe <logang at deltatee.com> 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 <logang at deltatee.com>
>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
>
> 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
More information about the linux-mtd
mailing list