aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/misc/pwm-vibra.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-06-25 18:27:54 +0200
committerDmitry Torokhov <[email protected]>2023-07-07 16:54:26 -0700
commitcaec3d4416a2fbd7399556ba366da4d8fc05d9f5 (patch)
treea194f8a4ce65309d5769b389d26f49d42d036977 /drivers/input/misc/pwm-vibra.c
parent0d384e5959dde12717419a3fd77ee62cc10f069f (diff)
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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/input/misc/pwm-vibra.c')
0 files changed, 0 insertions, 0 deletions