ath10k: pull reusable code from pci probe and remove for ahb
authorRaja Mani <rmani@qti.qualcomm.com>
Wed, 27 Jan 2016 09:54:24 +0000 (15:24 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 28 Jan 2016 08:47:18 +0000 (10:47 +0200)
commit90188f807f2a8bada8e165b932b56f7e03b0a9b9
treeddbdc27b287728f436f49a04fdcd0b88bdfbec31
parent4ddb3299aa49ddeb40680d7427d3259d32aefa6d
ath10k: pull reusable code from pci probe and remove for ahb

Some of the code present in ath10k_pci_{probe|remove} are reusable
in ahb case too. To avoid code duplication, move reusable code to
new functions. Later, those new functions can be called from ahb
module's probe and exit functions.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h
This page took 0.025347 seconds and 5 git commands to generate.