Cai Huoqing a72691ee19 net: enetc: 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>
2021-09-16 13:35:35 +01:00
..
2021-07-20 07:16:45 -07:00
2021-08-13 16:10:31 -07:00
2021-07-27 20:11:45 +01:00
2021-04-22 13:23:07 -07:00
2021-07-27 20:11:45 +01:00