OSDN Git Service

net: wan: slic_ds26522: Use module_spi_driver to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 6 Feb 2017 15:25:52 +0000 (15:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 16:41:15 +0000 (11:41 -0500)
commitc3afa9955382ea5496e8997b307690aaca6e6e2f
tree5788a628d7ff64ca2520addf8c841c8881b05412
parent521613c5684068f2003d38b84c9a317b3d53948d
net: wan: slic_ds26522: Use module_spi_driver to simplify the code

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/slic_ds26522.c