Re: [PATCH 05/24] Input: pwm-beeper - Simplify with dev_err_probe()

2020-08-27 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 9:18 PM Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > Reviewed-by: Andy Shevchenko > Signed-off-by: Krzysztof Kozlowski > --- >

[PATCH 05/24] Input: pwm-beeper - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
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 --- drivers/input/misc/pwm-beeper.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git