diff options
| author | Michael Tretter <m.tretter@pengutronix.de> | 2021-03-17 19:16:09 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-18 01:10:05 +0300 |
| commit | a04be4b6b539cfce52181f6f8f15a823d99f520c (patch) | |
| tree | f56b3bcf81e447bfb5c5c166b43fc7eebc08509c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4cb50d00fe96ea13b97caddb89cfc301571cbc63 (diff) | |
| download | linux-a04be4b6b539cfce52181f6f8f15a823d99f520c.tar.xz | |
net: macb: simplify clk_init with dev_err_probe
On some platforms, e.g., the ZynqMP, devm_clk_get can return
-EPROBE_DEFER if the clock controller, which is implemented in firmware,
has not been probed yet.
As clk_init is only called during probe, use dev_err_probe to simplify
the error message and hide it for -EPROBE_DEFER.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
