From patchwork Fri Aug 24 14:01:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10941 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 23BC823E1B for ; Fri, 24 Aug 2012 14:02:39 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 24D5DA1894B for ; Fri, 24 Aug 2012 14:02:21 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1165440iaf.11 for ; Fri, 24 Aug 2012 07:02:38 -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=3mkNZQrt899KXBUaghHmcI8EiTvI2BLymLUOsePOJpo=; b=WonsBhSxwcfhO5sxgu/0Lw9NfbWYgx4zMEv9szXlM0lSJD0/Rw0aGFMQb495+ORJBp uQyeo65peolclC6xAldPgKLnLNdueOEiP59s3TTIu0cF7LyXOkkfAMvAncVP3Qb21GXg nP6TQrFNlH5WtQTDgg+L+VB+uwvkmZJqmOvm3dNc0ZgtjJk0UE48yCCe+A5b0/fDwOvU wuod7ymopSZlQIpWR5wgTwAGNcY9mhO4Q7swsVBmS2CLz1ozWKpBTIOyrNMdQP5tdD/O JPHq8LkHYSVmpnjeiRG8NOBRM/GIQfqIJlxDvk53eytxZzP9///vONATTLR8/nQ/Xbjk /YZw== Received: by 10.50.45.162 with SMTP id o2mr2342913igm.0.1345816958401; Fri, 24 Aug 2012 07:02:38 -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 ex8csp321640igc; Fri, 24 Aug 2012 07:02:37 -0700 (PDT) Received: by 10.180.84.164 with SMTP id a4mr5819672wiz.12.1345816956995; Fri, 24 Aug 2012 07:02:36 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id i14si5968966wiw.43.2012.08.24.07.02.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:36 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.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-we0-f178.google.com with SMTP id u7so1229781wey.37 for ; Fri, 24 Aug 2012 07:02:36 -0700 (PDT) Received: by 10.216.136.95 with SMTP id v73mr2702497wei.2.1345816956461; Fri, 24 Aug 2012 07:02:36 -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 eu4sm4556709wib.2.2012.08.24.07.02.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:35 -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, broonie@opensource.wolfsonmicro.com, ola.o.lilja@stericsson.com, roger.xr.nilsson@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 13/17] ARM: ux500: Remove platform registration of MSP devices Date: Fri, 24 Aug 2012 15:01:49 +0100 Message-Id: <1345816913-4113-14-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> References: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnDuorqU0eNLLyR0r3iPw4MwOUuNhyO5rPVB2KfPy6fk0/GZG/67eTpAyJ/x0NOJMr1EaLC 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 41e4df2..2af017f 100644 --- a/arch/arm/mach-ux500/board-mop500-msp.c +++ b/arch/arm/mach-ux500/board-mop500-msp.c @@ -175,16 +175,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); }