On Wed, Aug 26, 2020 at 04:51:45PM +0200, 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 <k...@kernel.org> > --- > drivers/iio/adc/stm32-adc-core.c | 62 ++++++++++++------------------- > drivers/iio/adc/stm32-adc.c | 10 ++--- > drivers/iio/adc/stm32-dfsdm-adc.c | 10 ++--- > 3 files changed, 30 insertions(+), 52 deletions(-)
For this one I have a follow up - I found more of places for conversion. I will send v2 for this one only. Best regards, Krzysztof