summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500-audio.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-11-27 12:24:45 (GMT)
committerArnd Bergmann <arnd@arndb.de>2012-11-27 12:24:45 (GMT)
commit64507dd7028e3e0145077e73b8374bd75aea117c (patch)
treea5d0f5a137a8ed948a1da22e9142bc5364908a75 /arch/arm/mach-ux500/board-mop500-audio.c
parent61da823ab9f1e554da58f1c9f75931829582ad4f (diff)
parente13316d60658aee7987b51025f342649baa33487 (diff)
downloadlinux-64507dd7028e3e0145077e73b8374bd75aea117c.tar.xz
Merge branch 'ste-dt-for-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500 into next/dt
From Lee Jones <lee.jones@linaro.org>: * 'ste-dt-for-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500: ARM: ux500: Rename dbx500 cpufreq code to be more generic ARM: dts: add missing ux500 device trees ARM: ux500: Stop registering the PCM driver from platform code ARM: ux500: Move board specific GPIO info out to subordinate DTS files ARM: ux500: Disable the MMCI gpio-regulator by default This follows up on the previous ux500 DT changes. Most importantly, it resolves a build error in the dts files that was the result of referring to a board specific device node from the common dtsi file. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-audio.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500-audio.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-audio.c b/arch/arm/mach-ux500/board-mop500-audio.c
index 070629a..7adbed5 100644
--- a/arch/arm/mach-ux500/board-mop500-audio.c
+++ b/arch/arm/mach-ux500/board-mop500-audio.c
@@ -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 = {
.id = MSP_I2S_2,
.msp_i2s_dma_rx = &msp2_dma_rx,
@@ -186,10 +177,3 @@ void mop500_audio_init(struct device *parent)
db8500_add_msp_i2s(parent, 3, U8500_MSP3_BASE, IRQ_DB8500_MSP1,
&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);
-}