diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2021-09-16 15:37:36 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-17 14:02:40 +0100 |
commit | b20b54fb00a8c7cfc91ead288a8048cf343d9e7c (patch) | |
tree | acd393af23c64b01df11e744ff6fdbdbe3f2189f /include/net/devlink.h | |
parent | 3503e673db234be0af57b80a03d7f5ac851e471d (diff) | |
download | linux-stable-b20b54fb00a8c7cfc91ead288a8048cf343d9e7c.tar.gz linux-stable-b20b54fb00a8c7cfc91ead288a8048cf343d9e7c.tar.bz2 linux-stable-b20b54fb00a8c7cfc91ead288a8048cf343d9e7c.zip |
net: stmmac: dwmac-visconti: 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 the error value
gets printed.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions