Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef4a6777 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Nicolas Pitre
Browse files

mach-orion5x/common.c: remove unnecessary (void *) casts



The (void *) cast is not needed when setting dev.platform_data to the
address of the data. Remove the casts.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
parent fc76be43
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
	},
};