]> git.baikalelectronics.ru Git - 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)
commit3dc9150b52c09f25c70250fbd1cf431e0ccdc31e
treec3253be663d2444ac7000d0397e9001b5f5ec117
parent61ad011e0c4fdbe2f8861372b223f64592fb7a2e
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 4cb7e39a3fe4 ("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