diff options
| author | Sean Anderson <sean.anderson@linux.dev> | 2026-01-17 00:57:24 +0530 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-21 18:57:07 -0800 |
| commit | 808d077f5b538065c524b76b340007c51fad215c (patch) | |
| tree | b81476b5b422a77362d491e6f9db0f5085d964f7 /include/linux | |
| parent | 820ce0c8e98a8999f4c233ffb1ca92c27894614e (diff) | |
net: xilinx: axienet: Use devres for resource management in probe path
Transition axienet_probe() to managed resource allocation using devm_*
APIs for network device and clock handling, while improving error paths
with dev_err_probe(). This eliminates the need for manual resource
cleanup during probe failures and streamlines the remove() function.
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Co-developed-by: Suraj Gupta <suraj.gupta2@amd.com>
Signed-off-by: Suraj Gupta <suraj.gupta2@amd.com>
Link: https://patch.msgid.link/20260116192725.972966-3-suraj.gupta2@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
