aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-07-23 19:49:28 +0800
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 14:02:00 -0300
commit4f96061b92da395ecd5325a87368670e1b1a7cc9 (patch)
treef922fc890175f54b4427e61e8bb987205fb1fb16 /drivers/infiniband/hw/mlx4
parentRDMA: Make most headers compile stand alone (diff)
downloadlinux-dev-4f96061b92da395ecd5325a87368670e1b1a7cc9.tar.xz
linux-dev-4f96061b92da395ecd5325a87368670e1b1a7cc9.zip
IB/usnic: Use dev_get_drvdata
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make the code simpler. Link: https://lore.kernel.org/r/20190723114928.18424-1-hslester96@gmail.com Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4')
0 files changed, 0 insertions, 0 deletions