]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/umad: Start using dev_groups of class
authorParav Pandit <parav@mellanox.com>
Fri, 21 Dec 2018 14:19:27 +0000 (16:19 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 21 Dec 2018 18:39:41 +0000 (11:39 -0700)
commit75bf8a2a2f6b0def50009a631ea2f22f0143ba6c
tree474d615536dca6bdc44d4fe28e9c5d0e1ab3b8ca
parentcdb53b65ae1b3beac2aaddf6c2d0cef798863466
IB/umad: Start using dev_groups of class

Start using core defined dev_groups of a class which allows to add device
attributes to the core kernel and simplify the umad module.

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