wl12xx: use module_platform_driver
authorLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:02:38 +0000 (12:02 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:02:38 +0000 (12:02 +0300)
commitae35c30c144b90266c75c5a1838753ff0c9130d0
tree5b00c69ea739f75ffcdea45a5e3f20a643c47c59
parent77e7b30b23d3360f627e991aea8255fa9914dd55
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>
drivers/net/wireless/ti/wl12xx/main.c