summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-06-25 19:28:13 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-07-08 02:54:30 +0300
commitd08149c13aa27bd2c0884915dea0eb1a171e1c2e (patch)
tree2c011f76af015e634667d9442ae3b519ceaff1a6 /tools/perf/scripts/python
parentd3aeb44cc6b21944c31b07728516924e9cb10825 (diff)
downloadlinux-d08149c13aa27bd2c0884915dea0eb1a171e1c2e.tar.xz
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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20230625162817.100397-21-krzysztof.kozlowski@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions