[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201113133701.GJ3718728@dell>
Date: Fri, 13 Nov 2020 13:37:01 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Amelie Delaunay <amelie.delaunay@...com>
Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] mfd: stmfx: fix dev_err_probe call in
stmfx_chip_init
On Fri, 13 Nov 2020, Amelie Delaunay wrote:
> ret may be 0 so, dev_err_probe should be called only when ret is an error
> code.
>
> Fixes: 41c9c06c491a ("mfd: stmfx: Simplify with dev_err_probe()")
> Signed-off-by: Amelie Delaunay <amelie.delaunay@...com>
> ---
> v2: address Lee's comment about error handling area
> ---
> drivers/mfd/stmfx.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists