iommu/ipmmu-vmsa: Minor cleanups
authorRobin Murphy <robin.murphy@arm.com>
Mon, 5 Feb 2024 16:43:27 +0000 (16:43 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Feb 2024 10:47:21 +0000 (11:47 +0100)
commitf2d6677ad5772d4972b11dc3a4c3e555973b27d9
treecdaeccc825bab22617d7cb0ec4b3fd2a05eeb73b
parent54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
iommu/ipmmu-vmsa: Minor cleanups

Remove the of_match_ptr() which was supposed to have gone long ago, but
managed to got lost in a fix-squashing mishap. On a similar theme, we
may as well also modernise the PM ops to get rid of the clunky #ifdefs,
and modernise the resource mapping to keep the checkpatch brigade happy.

Link: https://lore.kernel.org/linux-iommu/Yxni3d6CdI3FZ5D+@8bytes.org/
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/791877b0d310dc2ab7dc616d2786ab24252b9b8e.1707151207.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c