]> asedeno.scripts.mit.edu Git - linux.git/commit
infiniband: utilize the new cdev_set_parent function
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 17 Mar 2017 18:48:16 +0000 (12:48 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 05:44:33 +0000 (06:44 +0100)
commit985087157cebd2e710c3e65d8c3eabde4c591f1c
tree0b47a3414d9adad455354d4f2d660dffa1c59a43
parenta0d78193dcf2bfa7c3d169c55a7a30a5a89fca7a
infiniband: utilize the new cdev_set_parent function

This replaces the suspect looking cdev.kobj.parent lines with the
equivalent cdev_set_parent function. This is a straightforward change
that's largely cosmetic but it does push the kobj.parent ownership
into char_dev.c where it belongs.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/core/user_mad.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/hw/hfi1/device.c