Chuhong Yuan wrote:
> Instead of using to_pci_dev + pci_get_drvdata,
> use dev_get_drvdata to make code simpler.
>
> Signed-off-by: Chuhong Yuan
> Signed-off-by: Kalle Valo
Patch applied to ath-next branch of ath.git, thanks.
5d7e4b4935e4 ath: Use dev_get_drvdata where possible
--
https://
Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.
Signed-off-by: Chuhong Yuan
---
drivers/net/wireless/ath/ath5k/pci.c| 3 +--
drivers/net/wireless/ath/ath9k/pci.c| 5 ++---
drivers/net/wireless/ath/wil6210/pcie_bus.c | 6 ++
3 files cha
2 matches
Mail list logo