diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-01 17:31:41 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2020-10-14 15:02:25 +0200 |
commit | d342951bcda6cd190309138385d5935ab1d08f92 (patch) | |
tree | 0e9e0d7c2fe04be35943b43e8bbc2e74d6048986 /tools/perf/util/trace-event-scripting.c | |
parent | fc77204001d085050564bd6bd064e5cd51de2527 (diff) |
watchdog: rti: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions