mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 10:14:23 +08:00
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>
This commit is contained in:
parent
ef4a6777cf
commit
3e3e65fc42
@ -656,7 +656,7 @@ static struct platform_device kirkwood_xor00_channel = {
|
||||
.dev = {
|
||||
.dma_mask = &kirkwood_xor_dmamask,
|
||||
.coherent_dma_mask = DMA_BIT_MASK(64),
|
||||
.platform_data = (void *)&kirkwood_xor00_data,
|
||||
.platform_data = &kirkwood_xor00_data,
|
||||
},
|
||||
};
|
||||
|
||||
@ -682,7 +682,7 @@ static struct platform_device kirkwood_xor01_channel = {
|
||||
.dev = {
|
||||
.dma_mask = &kirkwood_xor_dmamask,
|
||||
.coherent_dma_mask = DMA_BIT_MASK(64),
|
||||
.platform_data = (void *)&kirkwood_xor01_data,
|
||||
.platform_data = &kirkwood_xor01_data,
|
||||
},
|
||||
};
|
||||
|
||||
@ -755,7 +755,7 @@ static struct platform_device kirkwood_xor10_channel = {
|
||||
.dev = {
|
||||
.dma_mask = &kirkwood_xor_dmamask,
|
||||
.coherent_dma_mask = DMA_BIT_MASK(64),
|
||||
.platform_data = (void *)&kirkwood_xor10_data,
|
||||
.platform_data = &kirkwood_xor10_data,
|
||||
},
|
||||
};
|
||||
|
||||
@ -781,7 +781,7 @@ static struct platform_device kirkwood_xor11_channel = {
|
||||
.dev = {
|
||||
.dma_mask = &kirkwood_xor_dmamask,
|
||||
.coherent_dma_mask = DMA_BIT_MASK(64),
|
||||
.platform_data = (void *)&kirkwood_xor11_data,
|
||||
.platform_data = &kirkwood_xor11_data,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user