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