iommu: rockchip: fix building without CONFIG_OF

We get a build error when compiling the iommu driver without CONFIG_OF:

drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_of_xlate':
drivers/iommu/rockchip-iommu.c:1101:2: error: implicit declaration of function 'of_dev_put'; did you mean 'of_node_put'? [-Werror=implicit-function-declaration]

This replaces the of_dev_put() with the equivalent
platform_device_put().

Fixes: 5fd577c3eac3 ("iommu/rockchip: Use OF_IOMMU to attach devices automatically")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>

authored by Arnd Bergmann and committed by Joerg Roedel 40fa84e1 a85894cd

Changed files
+1 -1
drivers
+1 -1
drivers/iommu/rockchip-iommu.c
··· 1098 1098 data->iommu = platform_get_drvdata(iommu_dev); 1099 1099 dev->archdata.iommu = data; 1100 1100 1101 - of_dev_put(iommu_dev); 1101 + platform_device_put(iommu_dev); 1102 1102 1103 1103 return 0; 1104 1104 }