Re: [PATCH 20/24] Input: resistive-adc-touch - Simplify with dev_err_probe()

2020-08-27 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 9:21 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 20/24] Input: resistive-adc-touch - 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/touchscreen/resistive-adc-touch.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git