diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-06-25 18:28:10 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-07-07 16:54:29 -0700 |
| commit | 17d981fa707ef6f212dda17d1ec64a4a360c91a7 (patch) | |
| tree | 471ddcb502a4010c0a3ec72b881e0a392cc16dc3 /tools/perf/scripts/python | |
| parent | ca0d9997f5437ddb754b8743ff15d853d474371e (diff) | |
Input: resistive-adc-touch - 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: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions