]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit349209b0f086b551aeef8e3748bc6e9f6890770e
tree8c5c78cf81c3c21c9cb5e53af1a40827001c81e9
parent67659e6e0a5b694e501cb70435ea07a6a216a630
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