From patchwork Tue Jul 31 13:39:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1260461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 44745DF26F for ; Tue, 31 Jul 2012 14:29:42 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SwDLe-0000VX-HF; Tue, 31 Jul 2012 14:22:59 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SwCfl-0007u0-SG for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2012 13:39:42 +0000 Received: by mail-wg0-f49.google.com with SMTP id ez12so4393130wgb.18 for ; Tue, 31 Jul 2012 06:39:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Y1RaoQifWELx1RhUUAPtLRouFC2ZpaiMmBhdAmNuoAk=; b=Aw+bAZS6w8E6xczxF2M2iSwjuJvJ6DXKnxrYk58rRgpeEm6y+Plf2pbl+8U1a/+m7B LKIzaB34iUS3RXuLM2KVcZTMzvDp82N00Is3rlrr7HfNVcZeNDHKaSD5Xiqu6Jo0p/ML AIhhdb7+x1yT5ogjGGqiF2Vv5NLitkagl6gIUwyD6wpT4ATz5XjtMacbdwrFlMJbUC7g QYD1avTNalpebiCMW4q3gpFQLHfWjuAee5EZjJkv8T809szyQcrjbQlWXqPYDOZkeu32 b9/nkTznS6gGoiZMd2KR3cPhShewdSmhsI0KJYeapHlJpeKSE1kCTjSiliK5av/WrjjE 5spQ== Received: by 10.180.81.38 with SMTP id w6mr6981510wix.10.1343741980365; Tue, 31 Jul 2012 06:39:40 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id el6sm22252911wib.8.2012.07.31.06.39.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:39 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, broonie@opensource.wolfsonmicro.com Subject: [PATCH 11/19] ARM: ux500: Stop registering the PCM driver from platform code Date: Tue, 31 Jul 2012 14:39:05 +0100 Message-Id: <1343741953-17828-12-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkGqj3lAmNXFcWMtKI7tl1ZynVkijieak4T8ObXcNTo+3+37KMwv5tqYnNRgwoZpYm8/BGb X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: STEricsson_nomadik_linux@list.st.com, Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-msp.c b/arch/arm/mach-ux500/board-mop500-msp.c index 71d62ed..7af2dce 100644 --- a/arch/arm/mach-ux500/board-mop500-msp.c +++ b/arch/arm/mach-ux500/board-mop500-msp.c @@ -184,9 +184,6 @@ void mop500_of_msp_init(struct device *parent) &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__); - platform_device_register(&ux500_pcm); } void mop500_msp_init(struct device *parent) @@ -203,7 +200,4 @@ void mop500_msp_init(struct device *parent) &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__); - platform_device_register(&ux500_pcm); }