IB/rxe: Use DEVICE_ATTR_RO macro to show parent field
authorKamal Heib <[email protected]>
Thu, 15 Jun 2017 08:29:05 +0000 (11:29 +0300)
committerDoug Ledford <[email protected]>
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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/sw/rxe/rxe_verbs.c