On Tue, Mar 14, 2017 at 04:28:28PM +0100, Linus Walleij wrote:
On Mon, Mar 6, 2017 at 8:04 AM, Logan Gunthorpe [off-list ref] wrote:
quoted
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 <redacted>
Reviewed-by: Linus Walleij <redacted>
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