ath: Use dev_get_drvdata where possible

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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Chuhong Yuan 2019-07-24 19:27:20 +08:00 • committed by Kalle Valo
commit 5d7e4b4935
3 changed files with 5 additions and 9 deletions