[PATCH 2/3] mfd: stmfx: Simplify with dev_err_probe()
Lee Jones
lee.jones at linaro.org
Fri Aug 28 06:10:13 EDT 2020
On Wed, 26 Aug 2020, 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>
> ---
> drivers/mfd/stmfx.c | 8 +++-----
> 1 file changed, 3 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
More information about the linux-arm-kernel
mailing list