diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2021-09-15 22:58:27 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-16 13:35:35 +0100 |
commit | 015a22f46b25d12f28efcce28039019ec504cb13 (patch) | |
tree | 540cb03dbeddbc914b0c426a6974528f8f5ea6b7 /drivers/net/wwan/iosm/iosm_ipc_flash.h | |
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>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_flash.h')
0 files changed, 0 insertions, 0 deletions