diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-01-29 17:43:52 -0500 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-02-04 21:29:27 -0500 |
commit | 3e3e65fc425588a4a4b9143d7dfe40e52a2bf0be (patch) | |
tree | df164fdb8128678a7bbc02f175ee6befb92c2f6a /arch | |
parent | ef4a6777cf33c4a7a76e74ecd593f74a1df30b96 (diff) |
mach-kirkwood/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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-kirkwood/common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index 242dd0775343..f759ca243925 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c | |||
@@ -656,7 +656,7 @@ static struct platform_device kirkwood_xor00_channel = { | |||
656 | .dev = { | 656 | .dev = { |
657 | .dma_mask = &kirkwood_xor_dmamask, | 657 | .dma_mask = &kirkwood_xor_dmamask, |
658 | .coherent_dma_mask = DMA_BIT_MASK(64), | 658 | .coherent_dma_mask = DMA_BIT_MASK(64), |
659 | .platform_data = (void *)&kirkwood_xor00_data, | 659 | .platform_data = &kirkwood_xor00_data, |
660 | }, | 660 | }, |
661 | }; | 661 | }; |
662 | 662 | ||
@@ -682,7 +682,7 @@ static struct platform_device kirkwood_xor01_channel = { | |||
682 | .dev = { | 682 | .dev = { |
683 | .dma_mask = &kirkwood_xor_dmamask, | 683 | .dma_mask = &kirkwood_xor_dmamask, |
684 | .coherent_dma_mask = DMA_BIT_MASK(64), | 684 | .coherent_dma_mask = DMA_BIT_MASK(64), |
685 | .platform_data = (void *)&kirkwood_xor01_data, | 685 | .platform_data = &kirkwood_xor01_data, |
686 | }, | 686 | }, |
687 | }; | 687 | }; |
688 | 688 | ||
@@ -755,7 +755,7 @@ static struct platform_device kirkwood_xor10_channel = { | |||
755 | .dev = { | 755 | .dev = { |
756 | .dma_mask = &kirkwood_xor_dmamask, | 756 | .dma_mask = &kirkwood_xor_dmamask, |
757 | .coherent_dma_mask = DMA_BIT_MASK(64), | 757 | .coherent_dma_mask = DMA_BIT_MASK(64), |
758 | .platform_data = (void *)&kirkwood_xor10_data, | 758 | .platform_data = &kirkwood_xor10_data, |
759 | }, | 759 | }, |
760 | }; | 760 | }; |
761 | 761 | ||
@@ -781,7 +781,7 @@ static struct platform_device kirkwood_xor11_channel = { | |||
781 | .dev = { | 781 | .dev = { |
782 | .dma_mask = &kirkwood_xor_dmamask, | 782 | .dma_mask = &kirkwood_xor_dmamask, |
783 | .coherent_dma_mask = DMA_BIT_MASK(64), | 783 | .coherent_dma_mask = DMA_BIT_MASK(64), |
784 | .platform_data = (void *)&kirkwood_xor11_data, | 784 | .platform_data = &kirkwood_xor11_data, |
785 | }, | 785 | }, |
786 | }; | 786 | }; |
787 | 787 | ||