diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-06-25 19:27:54 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-07-08 02:54:26 +0300 |
commit | caec3d4416a2fbd7399556ba366da4d8fc05d9f5 (patch) | |
tree | a194f8a4ce65309d5769b389d26f49d42d036977 /Documentation | |
parent | 0d384e5959dde12717419a3fd77ee62cc10f069f (diff) | |
download | linux-caec3d4416a2fbd7399556ba366da4d8fc05d9f5.tar.xz |
Input: gpio_keys_polled - 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230625162817.100397-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions