iommu/omap: Drop redundant check if ti,syscon-mmuconfig exists
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 24 Jun 2025 12:22:30 +0000 (14:22 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Jun 2025 07:21:42 +0000 (09:21 +0200)
commit217d30bb8ee84feb0def7d31b93bce7ca52b5793
treee533dda6a829a8fe155fe4f95a44f49dc4b24208
parent86731a2a651e58953fc949573895f2fa6d456841
iommu/omap: Drop redundant check if ti,syscon-mmuconfig exists

The syscon_regmap_lookup_by_phandle() will fail if property does not
exist, so doing of_property_read_bool() earlier is redundant.  Drop that
check and move error message to syscon_regmap_lookup_by_phandle() error
case while converting it to dev_err_probe().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20250624-syscon-phandle-args-iommu-v3-1-1a36487d69b8@linaro.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/omap-iommu.c