summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-15 17:58:34 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-16 15:35:35 +0300
commit4fd3ff3b29aebd271db5b74275adfa5d1505883d (patch)
treedf753029ffb86520dc972f03b052cc781768210d /drivers/net/ethernet/cavium
parent015a22f46b25d12f28efcce28039019ec504cb13 (diff)
downloadlinux-4fd3ff3b29aebd271db5b74275adfa5d1505883d.tar.xz
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