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)
commit459421cc81eb4cdca96ef2c2b532359c6daa9002
tree4f936fd795e1a1e87d3e57afac2f204c527029fa
parent9d5658e65c4dd33e87dcff979a7b68ecab600d5d
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