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>
This commit is contained in:
Felipe Balbi 2011-10-06 10:07:44 +03:00 • committed by Luciano Coelho
commit a390e85cfe
8 changed files with 184 additions and 312 deletions