diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-08-26 16:47:45 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-09-24 09:18:11 +0200 |
commit | 5530fcaf9ca30b85cfe03c6fb98ec1b1ea189e6d (patch) | |
tree | 22df076ffe0a3d31ba497577a9fdb94ed4f5bfef /tools/perf/util/trace-event-scripting.c | |
parent | 836719f8948a0a485029e2308dbe864a33f6941d (diff) |
pwm: sifive: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions