Skip to content
Commit a063158b authored by David Heidelberg's avatar David Heidelberg Committed by Joerg Roedel
Browse files

iommu/msm: Simplify with dev_err_probe()



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: default avatarDavid Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20220206202945.465195-1-david@ixit.cz
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 6b813e0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment