cw1200: use module_spi_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 30 May 2013 11:42:54 +0000 (19:42 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 May 2013 18:45:25 +0000 (14:45 -0400)
commitd071c0430c6ae42fedec78f1ec2e37603adb8c78
treeddeb7a989331218c9ae470cf3d15906082d54d2f
parentc0dc79d607c39f5f6c6fd6cc8119b81639a6d6f3
cw1200: use module_spi_driver to simplify the code

module_spi_driver() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/cw1200_spi.c