[rtc-linux] [PATCH v3 05/16] gpiolib: utilize new cdev_device_add helper function
Linus Walleij
linus.walleij at linaro.org
Tue Mar 14 08:28:28 PDT 2017
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.
Yours,
Linus Walleij
More information about the linux-mtd
mailing list