diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-06-25 18:28:11 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-07-08 01:54:29 +0200 |
commit | 21142c1cb29048f536700b833be1b2806fff3ef7 (patch) | |
tree | 51a4d1e6b3e74d29a3ce286344a88fa4213ceb71 /drivers/input/misc/ims-pcu.c | |
parent | Input: resistive-adc-touch - simplify with dev_err_probe() (diff) | |
download | linux-21142c1cb29048f536700b833be1b2806fff3ef7.tar.xz linux-21142c1cb29048f536700b833be1b2806fff3ef7.zip |
Input: silead - 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-19-krzysztof.kozlowski@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/ims-pcu.c')
0 files changed, 0 insertions, 0 deletions