diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-23 15:27:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-23 16:56:17 -0700 |
commit | 9250dccc119e72aecb0dfa786c94b4d8eb67ea29 (patch) | |
tree | d753232b4b8456e57c5f83bc31aab36c1ac4a1d3 /net/xfrm/xfrm_device.c | |
parent | cd16627fc0468564fdd60f20ad52420b87195127 (diff) | |
download | linux-9250dccc119e72aecb0dfa786c94b4d8eb67ea29.tar.bz2 |
net: ethernet: mtk_star_emac: use devm_register_netdev()
Use the new devres variant of register_netdev() in the mtk-star-emac
driver and shrink the code by a couple lines.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_device.c')
0 files changed, 0 insertions, 0 deletions