wl1251: make wl1251_set_partition bus agnostic
authorBob Copeland <me@bobcopeland.com>
Fri, 7 Aug 2009 10:33:18 +0000 (13:33 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:37 +0000 (09:13 -0400)
commit0d77e141331b25adf190ce30d69fe5744a69c5bd
tree1e62aa4ab8d08c0653443e2bf086ea55f04a8441
parent08d9f57251841e4870cfd286e867ffcbef81d9a4
wl1251: make wl1251_set_partition bus agnostic

The same partition setting code can be used for both SPI and SDIO
modes, if we remove the spi-specific commands and use the more
generic buffer write routines.  Do that and move it to io.c
since it deals with register/memory address offsets.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_io.c
drivers/net/wireless/wl12xx/wl1251_io.h
drivers/net/wireless/wl12xx/wl1251_spi.c
drivers/net/wireless/wl12xx/wl1251_spi.h