wl12xx: use module_platform_driver

Use a module_platform_driver declaration instead of replicating the
init and exit functions in the driver.

Based on the patch for wl18xx by Devendra Naga.

Signed-off-by: Luciano Coelho <luca@coelho.fi>
This commit is contained in:
Luciano Coelho 2012-09-27 12:02:38 +03:00
commit ae35c30c14