IB/mlx5: Remove references to uboject->context
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 1 Apr 2019 20:08:23 +0000 (17:08 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Apr 2019 16:05:25 +0000 (13:05 -0300)
commite79c9c60622a59a814c54a1ee70298afe544441a
tree25e0335faa4123fef97acfe690a1fadf46c4efe8
parent9e886b39a73ad0219b3f2ff574c135d770118a6b
IB/mlx5: Remove references to uboject->context

These should all go through udata now. Add mlx5_udata_to_mdev to convert
a udata into the struct mlx5_ib_dev as these call sites require.

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