mach-orion5x/common.c: remove unnecessary (void *) casts
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 29 Jan 2010 22:56:58 +0000 (14:56 -0800)
committerNicolas Pitre <nico@fluxnic.net>
Fri, 5 Feb 2010 02:10:54 +0000 (21:10 -0500)
The (void *) cast is not needed when setting dev.platform_data to the
address of the data. Remove the casts.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion5x/common.c

index f87fa12..8dc2c76 100644 (file)
@@ -488,7 +488,7 @@ static struct platform_device orion5x_xor0_channel = {
        .dev            = {
                .dma_mask               = &orion5x_xor_dmamask,
                .coherent_dma_mask      = DMA_BIT_MASK(64),
-               .platform_data          = (void *)&orion5x_xor0_data,
+               .platform_data          = &orion5x_xor0_data,
        },
 };
 
@@ -514,7 +514,7 @@ static struct platform_device orion5x_xor1_channel = {
        .dev            = {
                .dma_mask               = &orion5x_xor_dmamask,
                .coherent_dma_mask      = DMA_BIT_MASK(64),
-               .platform_data          = (void *)&orion5x_xor1_data,
+               .platform_data          = &orion5x_xor1_data,
        },
 };