diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-06-25 18:28:13 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-07-07 16:54:30 -0700 |
| commit | d08149c13aa27bd2c0884915dea0eb1a171e1c2e (patch) | |
| tree | 2c011f76af015e634667d9442ae3b519ceaff1a6 /tools/perf/scripts/python | |
| parent | d3aeb44cc6b21944c31b07728516924e9cb10825 (diff) | |
Input: surface3_spi - 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