IB/umad: Use class_groups and let core create class file
authorParav Pandit <parav@mellanox.com>
Fri, 21 Dec 2018 14:19:26 +0000 (16:19 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 21 Dec 2018 18:39:40 +0000 (11:39 -0700)
commitcdb53b65ae1b3beac2aaddf6c2d0cef798863466
treec7f1a49e6a1ecdeb031a57d23779f88396135c5d
parente9dd5daf884cf591f9c9a122351d2f9ccf7b97d3
IB/umad: Use class_groups and let core create class file

Use class->class_groups core kernel facility to create the abi version
file instead of open coding.

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