mirror of
https://github.com/torvalds/linux
synced 2024-09-29 16:00:27 +00:00
ARM: ux500: Remove platform registration of MSP devices
This patch removes platform device registration of all 4 MSP devices. It also takes care of all redundant infrastructure now that each of the ux500 audio components have been Device Tree enabled. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
2aed23d3e8
commit
4fa469419f
|
@ -174,16 +174,6 @@ struct msp_i2s_platform_data msp3_platform_data = {
|
||||||
/* Due for removal once the MSP driver has been fully DT:ed. */
|
/* Due for removal once the MSP driver has been fully DT:ed. */
|
||||||
void mop500_of_msp_init(struct device *parent)
|
void mop500_of_msp_init(struct device *parent)
|
||||||
{
|
{
|
||||||
pr_info("Initialize MSP I2S-devices.\n");
|
|
||||||
db8500_add_msp_i2s(parent, 0, U8500_MSP0_BASE, IRQ_DB8500_MSP0,
|
|
||||||
&msp0_platform_data);
|
|
||||||
db8500_add_msp_i2s(parent, 1, U8500_MSP1_BASE, IRQ_DB8500_MSP1,
|
|
||||||
&msp1_platform_data);
|
|
||||||
db8500_add_msp_i2s(parent, 2, U8500_MSP2_BASE, IRQ_DB8500_MSP2,
|
|
||||||
&msp2_platform_data);
|
|
||||||
db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1,
|
|
||||||
&msp3_platform_data);
|
|
||||||
|
|
||||||
pr_info("%s: Register platform-device 'ux500-pcm'\n", __func__);
|
pr_info("%s: Register platform-device 'ux500-pcm'\n", __func__);
|
||||||
platform_device_register(&ux500_pcm);
|
platform_device_register(&ux500_pcm);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue