diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-06-25 18:27:57 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-07-07 16:54:27 -0700 |
| commit | 1e402a15bc00201c1068596445ebfe98d60d1c58 (patch) | |
| tree | badddd267426d0a33f6e17265fef93e18c989fcc /tools/perf/scripts/python/bin | |
| parent | a07e68dff58bd536f9e909b007875726eade5c0e (diff) | |
Input: rotary_encoder - 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/bin')
0 files changed, 0 insertions, 0 deletions