Simplify the code by using module_platform_driver macro
authorZhichao Cai <caizhichao@yulong.com>
Wed, 24 Mar 2021 02:30:47 +0000 (10:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2021 00:50:36 +0000 (17:50 -0700)
commitd280a2c2b740ed6d90827004625e605c0a06a696
tree06558640643d4493b973128f6cffd5e07b0b404c
parent69cdfb530f7b8b094e49555454869afc8140b1bb
Simplify the code by using module_platform_driver macro

for ftmac100

Signed-off-by: Zhichao Cai <caizhichao@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftmac100.c