aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-09 01:42:52 -0400
committerBrian Norris <computersforpeace@gmail.com>2013-10-27 19:27:07 -0400
commit14ac07856fee903879f11932e313695de8156e9c (patch)
treee20ea2b069b2f99680ce787d033171ade6627a79 /drivers/mtd
parent963d1c285fdf3b9ce93b575b879c1cba4a23d958 (diff)
mtd: plat-ram: Remove casting the return value which is a void pointer
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/plat-ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index 676271659b37..3e35b9a330c7 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -55,7 +55,7 @@ struct platram_info {
55 55
56static inline struct platram_info *to_platram_info(struct platform_device *dev) 56static inline struct platram_info *to_platram_info(struct platform_device *dev)
57{ 57{
58 return (struct platram_info *)platform_get_drvdata(dev); 58 return platform_get_drvdata(dev);
59} 59}
60 60
61/* platram_setrw 61/* platram_setrw