rt2x00: rt2800pci: rename rt2800pci_disable_radio function
authorGabor Juhos <juhosg@openwrt.org>
Thu, 17 Oct 2013 07:42:30 +0000 (09:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:07:00 +0000 (14:07 -0400)
commit28d4d98d7ad11b540f0041be9e7d4dae15ca22fa
tree8c5c78cf81c3c21c9cb5e53af1a40827001c81e9
parent6716b3d83221e7aa2623d9a60fdbf7faa836756b
rt2x00: rt2800pci: rename rt2800pci_disable_radio function

The function contain code for SoC devices only.
Rename the function to 'rt2800soc_disable_radio'
and move it to the SoC specific section. Use
the renamed function in the SoC specific code
only and remove the 'if rt2x00_is_soc(rt2x00dev)'
condition from the function body.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c