diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-03-05 09:11:56 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-07 09:03:29 +0000 |
commit | 23749cf3dfff5dcd706183ade1d27198a37b3881 (patch) | |
tree | 93631e8f83318a3008e2ff601ffb7299d9c1517c /tools/perf/util/trace-event-scripting.c | |
parent | 392346827fbe8a7fd573dfb145170d7949f639a6 (diff) |
backlight: gpio: 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]>
Reviewed-by: Daniel Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions