commit | 9eda994d4b57e177a1e05416458e95ae7cac6c40 | [log] [tgz] |
---|---|---|
author | Cai Huoqing <caihuoqing@baidu.com> | Wed Sep 15 22:58:11 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 16 13:35:35 2021 +0100 |
tree | fbe47c1239fcb7b6d84f4fdb8dda86356039bb1b | |
parent | b0ab7096dd9bf4d6d5c9d889ab216eb78f7e0b04 [diff] |
net: chelsio: cxgb4vf: 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>