From patchwork Thu Sep 20 12:12:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11558 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 6A0711B4E37 for ; Thu, 20 Sep 2012 12:13:43 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 9CCCEA184EA for ; Thu, 20 Sep 2012 12:13:42 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so2722108iej.11 for ; Thu, 20 Sep 2012 05:13: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=A7MlT7NXiCEwXccmF2ncWZKwc6gydnNgq/IYP9NIfUQ=; b=Fa+kMgD+Jvg6KoHmYnCzJkCWexcKIlTWE9ikiPLG9bJXI3xT16T5LC95gb1HSdjUgk eK/mpyDIHfoC2kdNby9N1t7p8//7MGvko3FKfeBmMOjgbMnxCjDCq6Kp6GYPVhlw4zMo MU6qHOp5QLIKErnk5l1UsMsV4C0DJoTQAyCV4hjB9Vv9Sp8GBr3XBn+ee1TPKQi56oMS FAj+9y474GzLkcyLz7ltj5UaAChj6g+lca3UN2XlATZSVi9KG3j9XkSj8sO5dPpuqG58 Zwx/Mpgpr1mDjg4Txitk7/UWQwET/3aayZlN5HHp03zIfojzXAff9QLtSSThJ2AuvHqg wQ3w== Received: by 10.42.84.69 with SMTP id k5mr1275366icl.5.1348143222439; Thu, 20 Sep 2012 05:13: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.184.232 with SMTP id ex8csp71635igc; Thu, 20 Sep 2012 05:13:41 -0700 (PDT) Received: by 10.216.214.209 with SMTP id c59mr987990wep.214.1348143220946; Thu, 20 Sep 2012 05:13:40 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id s10si7312688wei.99.2012.09.20.05.13.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 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-wi0-f178.google.com with SMTP id hr14so429697wib.13 for ; Thu, 20 Sep 2012 05:13:40 -0700 (PDT) Received: by 10.216.209.167 with SMTP id s39mr1037801weo.118.1348143220391; Thu, 20 Sep 2012 05:13:40 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id w7sm32394460wiz.0.2012.09.20.05.13.38 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:39 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, olof.johansson@gmail.com, Lee Jones Subject: [PATCH 21/32] ARM: ux500: Remove platform registration of MSP devices Date: Thu, 20 Sep 2012 14:12:39 +0200 Message-Id: <1348143170-2130-22-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> References: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQms/BiGhk+fEUODjqdMq5htAjQ7AZooGHDmz5r6kk7xifvyn4FqWLsCjGtFBiBL6VZS+WZD 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 Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-msp.c b/arch/arm/mach-ux500/board-mop500-msp.c index ddc74c5..d04f54d 100644 --- a/arch/arm/mach-ux500/board-mop500-msp.c +++ b/arch/arm/mach-ux500/board-mop500-msp.c @@ -174,16 +174,6 @@ struct msp_i2s_platform_data msp3_platform_data = { /* Due for removal once the MSP driver has been fully DT:ed. */ 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__); platform_device_register(&ux500_pcm); }