Re: [PATCH v2 18/18] iio: magnetometer: iio-mux: Simplify with dev_err_probe()

2020-08-27 Thread Peter Rosin
Hi! Wrong subject. Made me overlook it on the first pass... On 2020-08-27 21:26, 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. > > Signed-off-by: Krzysztof Kozlowski > --- > driver

Re: [PATCH v2 18/18] iio: magnetometer: iio-mux: Simplify with dev_err_probe()

2020-08-27 Thread Andy Shevchenko
On Thu, Aug 27, 2020 at 10:29 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/iio/multiplexer/

[PATCH v2 18/18] iio: magnetometer: iio-mux: Simplify with dev_err_probe()

2020-08-27 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/iio/multiplexer/iio-mux.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/iio/multipl