linux/drivers/net/ethernet/wiznet
Markus Elfring 4a49c88ea5 ethernet: wiznet: Use devm_platform_get_and_ioremap_resource() in w5300_hw_probe()
A wrapper function is available since the commit 890cc39a87
("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>
2024-02-09 12:27:36 -08:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
w5100-spi.c net: ethernet: wiznet: Use spi_get_device_match_data() 2023-10-13 10:05:49 +01:00
w5100.c netdev: replace simple napi_schedule_prep/__napi_schedule to napi_schedule 2023-10-11 17:28:05 -07:00
w5100.h net: w5100: Make w5100_remove() return void 2021-10-18 12:59:12 +01:00
w5300.c ethernet: wiznet: Use devm_platform_get_and_ioremap_resource() in w5300_hw_probe() 2024-02-09 12:27:36 -08:00