Re: [PATCH 08/24] Input: elan_i2c - Simplify with dev_err_probe()

2020-08-27 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 9:20 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 > --- > drivers/input/mouse/elan_

[PATCH 08/24] Input: elan_i2c - 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/mouse/elan_i2c_core.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/input/m