diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-02-05 14:22:32 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-09 12:27:36 -0800 |
commit | 4a49c88ea5651a77f7b2292ca7d7e2c16e2feac6 (patch) | |
tree | eaa7e093ba038351add945cfcdd23e0ae66db0b9 /drivers/net/xen-netfront.c | |
parent | f0ddf15f0a74c27eb4b2271a90e69948acc3fa2c (diff) |
ethernet: wiznet: Use devm_platform_get_and_ioremap_resource() in w5300_hw_probe()
A wrapper function is available since the commit 890cc39a8799
("drivers: provide devm_platform_get_and_ioremap_resource()").
Thus reuse existing functionality instead of keeping duplicate source code.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/46f64db3-3f8f-4c6c-8d70-38daeefccac1@web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions