ath5k: move ath5k_hw_register_timeout() into reset.c
authorPavel Roskin <proski@gnu.org>
Fri, 19 Feb 2010 01:28:41 +0000 (20:28 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Mar 2010 20:02:55 +0000 (15:02 -0500)
commitec182d976345b5eb671fe879ad73b90fe29a34e9
tree0a2fdacabd6f428dfbda52ac79cd7bb2a7b17245
parenta25d1e4cd7799570ecea6b5dcc4dbf5a6d5336bf
ath5k: move ath5k_hw_register_timeout() into reset.c

ath5k_hw_register_timeout() was duplicated between phy.c and reset.c.
Since it is too big and too much used to be an inline function, move it
away from the ath5k.h header into reset.c.  Remove _ATH5K_RESET and
_ATH5K_PHY defines.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/phy.c
drivers/net/wireless/ath/ath5k/reset.c