2019-07-24 11:26:55

by Chuhong Yuan

[permalink] [raw]
Subject: [PATCH net-next 00/10] Use dev_get_drvdata where possible

These patches use dev_get_drvdata instead of
using to_pci_dev + pci_get_drvdata to make
code simpler.

Chuhong Yuan (10):
net: marvell: Use dev_get_drvdata where possible
forcedeth: Use dev_get_drvdata where possible
sfc: Use dev_get_drvdata where possible
sfc-falcon: Use dev_get_drvdata where possible
ath: Use dev_get_drvdata where possible
iwlegacy: Use dev_get_drvdata where possible
iwlwifi: Use dev_get_drvdata where possible
mwifiex: pcie: Use dev_get_drvdata
qtnfmac_pcie: Use dev_get_drvdata
rtlwifi: rtl_pci: Use dev_get_drvdata

drivers/net/ethernet/marvell/skge.c | 6 ++----
drivers/net/ethernet/marvell/sky2.c | 3 +--
drivers/net/ethernet/nvidia/forcedeth.c | 3 +--
drivers/net/ethernet/sfc/ef10.c | 4 ++--
drivers/net/ethernet/sfc/efx.c | 10 +++++-----
drivers/net/ethernet/sfc/falcon/efx.c | 6 +++---
drivers/net/ethernet/sfc/falcon/falcon_boards.c | 4 ++--
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 ++----
drivers/net/wireless/intel/iwlegacy/common.c | 3 +--
drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 12 ++++--------
drivers/net/wireless/marvell/mwifiex/pcie.c | 8 ++------
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c | 4 ++--
drivers/net/wireless/realtek/rtlwifi/pci.c | 6 ++----
15 files changed, 32 insertions(+), 51 deletions(-)

--
2.20.1


2019-07-24 19:26:43

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net-next 00/10] Use dev_get_drvdata where possible

From: Chuhong Yuan <[email protected]>
Date: Wed, 24 Jul 2019 19:25:24 +0800

> These patches use dev_get_drvdata instead of
> using to_pci_dev + pci_get_drvdata to make
> code simpler.

Patches 1-4 applied to net-nex t.