diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2021-09-15 22:57:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-16 13:35:35 +0100 |
commit | 95b5fc03c189e4ea5c63785274cc0b77fcc3a818 (patch) | |
tree | 3c81a0128d17b5ccc5aaf6fb6b8c34f830cd3bdb /drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |
parent | 5706383b30cfd511022b42d583d2196b5ec8f8a3 (diff) |
net: arc_emac: Make use of the helper function dev_err_probe()
When possible use dev_err_probe help to properly deal with the
PROBE_DEFER error, the benefit is that DEFER issue will be logged
in the devices_deferred debugfs file.
And using dev_err_probe() can reduce code size, and simplify the code.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atl1c/atl1c_main.c')
0 files changed, 0 insertions, 0 deletions