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