From: Jingoo Han Date: Tue, 12 Nov 2013 23:06:50 +0000 (-0800) Subject: drivers/iommu/omap-iopgtable.h: remove unneeded cast of void* X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2529ad9e5bed1935ac30cbe5b53de805485b171;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drivers/iommu/omap-iopgtable.h: remove unneeded cast of void* Signed-off-by: Jingoo Han Cc: Joerg Roedel Cc: Tony Lindgren Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/iommu/omap-iopgtable.h b/drivers/iommu/omap-iopgtable.h index f4003d568a92..b6f9a51746ca 100644 --- a/drivers/iommu/omap-iopgtable.h +++ b/drivers/iommu/omap-iopgtable.h @@ -95,4 +95,4 @@ static inline phys_addr_t omap_iommu_translate(u32 d, u32 va, u32 mask) #define iopte_offset(iopgd, da) (iopgd_page_vaddr(iopgd) + iopte_index(da)) #define to_iommu(dev) \ - ((struct omap_iommu *)platform_get_drvdata(to_platform_device(dev))) + (platform_get_drvdata(to_platform_device(dev)))