net/wireless/ti/wlcore/spi: Use module_spi_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 20 May 2013 19:52:40 +0000 (21:52 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 17 Jun 2013 09:20:49 +0000 (12:20 +0300)
commitd5a49178fa842a83d7161b373117004e0483385a
tree98697a8de14cd2bef6090a223dde1812ea479c69
parent5cbba2d48ac3d493d2337414806c718370edcf8a
net/wireless/ti/wlcore/spi: Use module_spi_driver to register driver

Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/spi.c