Re: [PATCH 1/9] i2c: stm32: Simplify with dev_err_probe()

2020-09-10 Thread Alain Volmat
Hi, On Wed, Sep 02, 2020 at 05:06:35PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alain Volmat > --- > drivers/i2c/bus

[PATCH 1/9] i2c: stm32: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-stm32.c | 11 --- drivers/i2c/busses/i2c-stm32f4.c | 6 ++ drivers/i2c/busses/i2c-stm32f7.c