Commit 065871f1 authored by Lee Jones's avatar Lee Jones

ARM: ux500: Stop registering the PCM driver from platform code

We now initialise the PCM driver through the MSP DAI, so there is
no need to register it though platform code anymore. This patch
strips out all PCM platform registration.
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 8ad49c65
...@@ -150,15 +150,6 @@ static struct platform_device snd_soc_mop500 = { ...@@ -150,15 +150,6 @@ static struct platform_device snd_soc_mop500 = {
}, },
}; };
/* Platform device for Ux500-PCM */
static struct platform_device ux500_pcm = {
.name = "ux500-pcm",
.id = 0,
.dev = {
.platform_data = NULL,
},
};
struct msp_i2s_platform_data msp2_platform_data = { struct msp_i2s_platform_data msp2_platform_data = {
.id = MSP_I2S_2, .id = MSP_I2S_2,
.msp_i2s_dma_rx = &msp2_dma_rx, .msp_i2s_dma_rx = &msp2_dma_rx,
...@@ -186,10 +177,3 @@ void mop500_audio_init(struct device *parent) ...@@ -186,10 +177,3 @@ void mop500_audio_init(struct device *parent)
db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1, db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1,
&msp3_platform_data); &msp3_platform_data);
} }
/* Due for removal once the MSP driver has been fully DT:ed. */
void mop500_of_audio_init(struct device *parent)
{
pr_info("%s: Register platform-device 'ux500-pcm'\n", __func__);
platform_device_register(&ux500_pcm);
}
...@@ -104,8 +104,6 @@ void __init mop500_pinmaps_init(void); ...@@ -104,8 +104,6 @@ void __init mop500_pinmaps_init(void);
void __init snowball_pinmaps_init(void); void __init snowball_pinmaps_init(void);
void __init hrefv60_pinmaps_init(void); void __init hrefv60_pinmaps_init(void);
void mop500_audio_init(struct device *parent); void mop500_audio_init(struct device *parent);
/* Due for removal once the MSP driver has been fully DT:ed. */
void mop500_of_audio_init(struct device *parent);
int __init mop500_uib_init(void); int __init mop500_uib_init(void);
void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info, void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment