From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755298AbbLKMvQ (ORCPT ); Fri, 11 Dec 2015 07:51:16 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:46208 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755259AbbLKMu5 (ORCPT ); Fri, 11 Dec 2015 07:50:57 -0500 From: Peter Ujfalusi To: Tony Lindgren CC: , , Subject: [PATCH 1/2] ARM: OMAP1: Remove device creation for omap-pcm-audio Date: Fri, 11 Dec 2015 14:50:19 +0200 Message-ID: <1449838220-24309-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1449838220-24309-1-git-send-email-peter.ujfalusi@ti.com> References: <1449838220-24309-1-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The omap-pcm in ASoC is no longer a platform device. No need to create this device anymore. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap1/devices.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 263c07a566cb..8c8be861fff2 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c @@ -33,24 +33,6 @@ #include "mmc.h" #include "sram.h" -#if defined(CONFIG_SND_SOC) || defined(CONFIG_SND_SOC_MODULE) - -static struct platform_device omap_pcm = { - .name = "omap-pcm-audio", - .id = -1, -}; - -static void omap_init_audio(void) -{ - platform_device_register(&omap_pcm); -} - -#else -static inline void omap_init_audio(void) {} -#endif - -/*-------------------------------------------------------------------------*/ - #if defined(CONFIG_RTC_DRV_OMAP) || defined(CONFIG_RTC_DRV_OMAP_MODULE) #define OMAP_RTC_BASE 0xfffb4800 @@ -425,7 +407,6 @@ static int __init omap1_init_devices(void) * in alphabetical order so they're easier to sort through. */ - omap_init_audio(); omap_init_mbox(); omap_init_rtc(); omap_init_spi100k(); -- 2.6.4