diff options
author | Cai Huoqing | 2021-09-15 22:58:42 +0800 |
---|---|---|
committer | David S. Miller | 2021-09-16 13:35:35 +0100 |
commit | 52583c8d8b12f232bd1128de9f5895bcdad7d7a3 (patch) | |
tree | 011c1350e58207a1bf5675e226ab3af89b36134d /drivers/net/ethernet/cavium/common | |
parent | 4fd3ff3b29aebd271db5b74275adfa5d1505883d (diff) |
net: thunderx: 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/cavium/common')
0 files changed, 0 insertions, 0 deletions