ramips: mtd_eth_soc: use dev_err_probe
authorRosen Penev <rosenp@gmail.com>
Thu, 15 Aug 2024 02:25:21 +0000 (19:25 -0700)
committerChuanhong Guo <gch981213@gmail.com>
Tue, 17 Sep 2024 13:45:17 +0000 (21:45 +0800)
commita670cc286467bb4b79c94d88d6b21b0778b47c21
tree2d9b4d7516a658d25fa3fcab0ad35481beb4848e
parenta1b9c28edd7293ea220a792a91498ca9c76752a1
ramips: mtd_eth_soc: use dev_err_probe

Simplifies the code by avoiding having to manually handle -EPROBE_DEFER.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c