drivers/iommu/omap-iopgtable.h: remove unneeded cast of void*
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:06:50 +0000 (15:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:00 +0000 (12:09 +0900)
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/iommu/omap-iopgtable.h

index f4003d568a923a89d7f766abd77718f03cf1e74a..b6f9a51746caad5956442e7d99a1b5450cf72f0b 100644 (file)
@@ -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)))