]> git.baikalelectronics.ru Git - kernel.git/commit
wan/fsl_ucc_hdlc: use module_platform_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 19 Jul 2016 11:25:16 +0000 (11:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 21:46:00 +0000 (14:46 -0700)
commit4f107d388dd21951e5aa8dd89e99bbd0a766e4e5
tree4f936fd795e1a1e87d3e57afac2f204c527029fa
parent9977c505dc590787364e4b0cd6fb53dedd87dccf
wan/fsl_ucc_hdlc: use module_platform_driver to simplify the code

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c