OSDN Git Service

IB/rxe: Use DEVICE_ATTR_RO macro to show parent field
authorKamal Heib <kamalheib1@gmail.com>
Thu, 15 Jun 2017 08:29:05 +0000 (11:29 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 12:43:12 +0000 (08:43 -0400)
commitc05d26647b06b49e286b11cbd14e1444f9acc1c5
tree9049b61d7c602e5624222ecd611efe095c664893
parentc498e82e3c3231504831cd391970e63c1597a01b
IB/rxe: Use DEVICE_ATTR_RO macro to show parent field

Use DEVICE_ATTR RO() macro and rename the show function accordingly.

Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_verbs.c