[PATCH v3 18/18] iio: multiplexer: iio-mux: Simplify with dev_err_probe()

Peter Rosin peda at axentia.se
Sat Aug 29 17:30:40 EDT 2020


On 2020-08-29 08:47, 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 <krzk at kernel.org>
> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>

Acked-by: Peter Rosin <peda at axentia.se>

Cheers,
Peter




More information about the linux-arm-kernel mailing list