aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-15 22:57:56 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-16 13:35:35 +0100
commitb0ab7096dd9bf4d6d5c9d889ab216eb78f7e0b04 (patch)
tree2f5573bff7d63c09359a619ba18e9f43516e5d73 /drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
parentnet: atl1c: Make use of the helper function dev_err_probe() (diff)
downloadlinux-dev-b0ab7096dd9bf4d6d5c9d889ab216eb78f7e0b04.tar.xz
linux-dev-b0ab7096dd9bf4d6d5c9d889ab216eb78f7e0b04.zip
net: atl1e: 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/chelsio/cxgb4vf/cxgb4vf_main.c')
0 files changed, 0 insertions, 0 deletions