commit | 015a22f46b25d12f28efcce28039019ec504cb13 | [log] [tgz] |
---|---|---|
author | Cai Huoqing <caihuoqing@baidu.com> | Wed Sep 15 22:58:27 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 16 13:35:35 2021 +0100 |
tree | 540cb03dbeddbc914b0c426a6974528f8f5ea6b7 | |
parent | a72691ee19ca9763fca4a841843e83e88690aa97 [diff] |
net: ethoc: 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>