]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA/core: Replace open-coded variant of get_device
authorParav Pandit <parav@mellanox.com>
Mon, 3 Sep 2018 17:20:25 +0000 (20:20 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 5 Sep 2018 22:04:52 +0000 (16:04 -0600)
commit627212c9d49ba2759b699450f5d8f45f73e062fa
treec3253be663d2444ac7000d0397e9001b5f5ec117
parent6ceb6331b3291694fb6ceba625219f51447c3fa2
RDMA/core: Replace open-coded variant of get_device

Reuse existing get_device() API to do it symmetric to already used
put_device() in commit 924b8900a49d ("RDMA/core: Replace open-coded
variant of put_device")

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/sysfs.c