]> Git Repo - linux.git/commit
sunhme: switch to devres
authorRolf Eike Beer <[email protected]>
Sat, 24 Sep 2022 01:53:32 +0000 (21:53 -0400)
committerJakub Kicinski <[email protected]>
Tue, 27 Sep 2022 00:45:37 +0000 (17:45 -0700)
commit914d9b2711ddb86c3480cbdac74a55b453e491bc
tree6d7faf6d4507ba8cf43a7ae0be4e6d0c7f91aec6
parent5b3dc6dda6b1af8a6117d99394a6db81ec9be3d5
sunhme: switch to devres

This not only removes a lot of code, it also fixes the memleak of the DMA
memory when register_netdev() fails.

Signed-off-by: Rolf Eike Beer <[email protected]>
[ rebased onto net-next/master; fixed error reporting ]
Signed-off-by: Sean Anderson <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/sun/sunhme.c
This page took 0.051033 seconds and 4 git commands to generate.