Re: [PATCH net-next 05/10] ath: Use dev_get_drvdata where possible

2019-09-23 Thread Kalle Valo
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://

[PATCH net-next 05/10] ath: Use dev_get_drvdata where possible

2019-07-24 Thread Chuhong Yuan
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