commit | 30f273222cbc2782165818e4f83b6fb3590fee58 | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Tue Jul 23 20:46:08 2019 +0800 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Thu Sep 05 14:55:26 2019 +0300 |
tree | a000efbf483a86bdb941a22ec1de426ef6f1453d | |
parent | 209257feabb595f88cfd3137cd53dfd675d27f46 [diff] |
habanalabs: Use dev_get_drvdata Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>