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: 10417 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 2212123E02 for ; Tue, 31 Jul 2012 13:39:43 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id E5F96A18880 for ; Tue, 31 Jul 2012 13:39:42 +0000 (UTC) Received: by ghbz12 with SMTP id z12so5883265ghb.11 for ; Tue, 31 Jul 2012 06:39:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Y1RaoQifWELx1RhUUAPtLRouFC2ZpaiMmBhdAmNuoAk=; b=OiQ2XXjPC8oAHFDCCte4XwIDS57zzJizI527GZUD5E09E2SwpYpciWh4eRFfts+p12 apmnGKD3mEZ2ataFkbRb0OL06rTRdS6FPk45qfTGNiurabltZSjVkJXrh26uyRRFEZ4n 349O7XkCqMgpIxWd+d0nfQp8NWH9KlObeyGukagiss4+OqhrlK99FvInrTbjrepwGa/k H1IlqTHPOatDjWe+RkAX3pqv26IYN0x3e5EGjSh7TWOEkryO0C6oDKB8rB1rVhIGiIHK C5d5FcVa1igCX48uKhtciB3RtHN8gJACAdmNXQgLOPcB6C9uFmFwGcH5tax//UQB9mfH //VQ== Received: by 10.50.149.134 with SMTP id ua6mr713416igb.11.1343741982075; Tue, 31 Jul 2012 06:39:42 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp143524igz; Tue, 31 Jul 2012 06:39:41 -0700 (PDT) Received: by 10.217.6.12 with SMTP id x12mr6831797wes.176.1343741980861; Tue, 31 Jul 2012 06:39:40 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id di4si302604wib.26.2012.07.31.06.39.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:40 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f50.google.com with SMTP id ds11so5606186wgb.31 for ; Tue, 31 Jul 2012 06:39:40 -0700 (PDT) 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 Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, Lee Jones 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: ALoCoQny28cCSbEasa8PiVKqS6XD1iFzeBXI41DANLj7gMIQgbLiCJORCztEfbKhSYw+IgS2eTt+ 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); }