wl12xx: move common init code from bus modules to main
authorFelipe Balbi <balbi@ti.com>
Thu, 6 Oct 2011 07:07:44 +0000 (10:07 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 13:01:09 +0000 (16:01 +0300)
commita390e85cfe91c346ff4745bcd45ad0a7e7101aa2
tree789c84bbe5228b6c15dda7c1072dd220bd15dba1
parentce2a217c8268906640ebf7291d7a06210a35dd2f
wl12xx: move common init code from bus modules to main

Move all common parts from sdio.c and spi.c to main.c, since they now
can be handled as part of the platform driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[forward-ported, cleaned-up and rephrased commit message]
[added a bunch of fixes and a new pdata element]
[moved some new code into main.c as well]
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/io.c
drivers/net/wireless/wl12xx/io.h
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/sdio.c
drivers/net/wireless/wl12xx/spi.c
drivers/net/wireless/wl12xx/wl12xx.h
drivers/net/wireless/wl12xx/wl12xx_platform_data.c
include/linux/wl12xx.h