Re: [PATCH] iommu/msm: simplify with dev_err_probe()

From: Joerg Roedel
Date: Mon Feb 14 2022 - 08:21:14 EST


On Sun, Feb 06, 2022 at 09:29:45PM +0100, David Heidelberg wrote:
> Use the dev_err_probe() helper to simplify error handling during probe.
> This also handle scenario, when EDEFER is returned and useless error is
> printed.
>
> Fixes warnings as:
> msm_iommu 7500000.iommu: could not get smmu_pclk
>
> Signed-off-by: David Heidelberg <david@xxxxxxx>
> ---
> drivers/iommu/msm_iommu.c | 24 ++++++++++--------------
> 1 file changed, 10 insertions(+), 14 deletions(-)

Applied, thanks.