RDMA/mlx5: Use the uapi disablement APIs instead of code
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 12 Nov 2018 20:59:53 +0000 (22:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 22 Nov 2018 18:57:32 +0000 (11:57 -0700)
commit36e235c8829935a59d4652c878cffb08229205c2
tree46233905a4ce85bf2eb0a5411c261fd957fcaf10
parent6829c1c2b371674a05562a39d608b5cf48351bea
RDMA/mlx5: Use the uapi disablement APIs instead of code

Rely on UAPI_DEF_IS_OBJ_SUPPORTED instead of manipulating the contents of
the driver's definition list.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h