[PATCH 2/2] memory: tegra186-emc: Simplify with dev_err_probe()

Krzysztof Kozlowski krzk at kernel.org
Wed Sep 2 11:23:06 EDT 2020


On Fri, Aug 28, 2020 at 05:37:47PM +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 <krzk at kernel.org>
> ---
>  drivers/memory/tegra/tegra186-emc.c | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)

Applied.

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list