drm/arm/malidp: Stop using iommu_present()
authorRobin Murphy <robin.murphy@arm.com>
Tue, 5 Apr 2022 14:11:18 +0000 (15:11 +0100)
committerLiviu Dudau <liviu.dudau@arm.com>
Mon, 11 Apr 2022 17:30:18 +0000 (18:30 +0100)
commitb5c7d19736a17115f0c3489a2ebfa5c5181902b9
tree0c48929ba45533598ae2cb0ac8b54ed569166129
parentc8f76c37cc3668ee45e081e76a15f24a352ebbdd
drm/arm/malidp: Stop using iommu_present()

iommu_get_domain_for_dev() is already perfectly happy to return NULL
if the given device has no IOMMU. Drop the unnecessary check.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5049994e6c2ba92c2f30d51850c8929136d0f8ca.1649167878.git.robin.murphy@arm.com
drivers/gpu/drm/arm/malidp_planes.c