From patchwork Fri Aug 24 14:01:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1371261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 81D1A3FC81 for ; Fri, 24 Aug 2012 14:10:30 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T4uWX-0007j0-Un; Fri, 24 Aug 2012 14:06:10 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T4uT3-0005tJ-Pz for linux-arm-kernel@lists.infradead.org; Fri, 24 Aug 2012 14:02:35 +0000 Received: by mail-wi0-f177.google.com with SMTP id hn17so672327wib.0 for ; Fri, 24 Aug 2012 07:02:33 -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=qVqisKZVYj4LXb3dfO9lpu7ah/1uG8pw16JcBUpA4/g=; b=peI8cfytJWqwKK4UdtGf32Ms+mNdTghldXnBYXzZTEBKlYefJaDoKGZ7hJABSRBHDT BJ9R46Lajig+B9rG3tARLJgTHrJ8fmC2FQ4vbRxkC+xcv36KMi7VLHWGv/6yY4X7dv9s capYcI9TZQ4i0HrzphCH0GlvJWENe3Nqw5yTOIR64JMdDH/eJtyRbcJr6qMllOofLoYy q3/QGi2co9OLRcTZV5OgrmguNNnnUXYJl2IyIE/rzroW2/TWcbZjI0hCuxiyUnotjeJ8 bNdkn6imMgaFukXW89sbeER6Fcw2+WI8FqzD7GC718l2PKEMe3ZQc85z0TSgG5HK2t37 Kc/Q== Received: by 10.180.105.130 with SMTP id gm2mr5852636wib.6.1345816953484; Fri, 24 Aug 2012 07:02:33 -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.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:32 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/17] ARM: ux500: Stop registering the MOP500 Audio driver from platform code Date: Fri, 24 Aug 2012 15:01:48 +0100 Message-Id: <1345816913-4113-13-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: ALoCoQmanwXfTjYnREN+9uPDE+tSn1l5z76Bicc/XTPztmn1H/6kZZwxvMmVu4BknbFooMuypU3t X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, linus.walleij@stericsson.com, arnd@arndb.de, roger.xr.nilsson@stericsson.com, broonie@opensource.wolfsonmicro.com, STEricsson_nomadik_linux@list.st.com, Lee Jones 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 In this patch we prevent MOP500 driver registration from platform code and rely solely on Device Tree to do the probing for us. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-msp.c b/arch/arm/mach-ux500/board-mop500-msp.c index ec802d0..41e4df2 100644 --- a/arch/arm/mach-ux500/board-mop500-msp.c +++ b/arch/arm/mach-ux500/board-mop500-msp.c @@ -175,9 +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("%s: Register platform-device 'snd-soc-u8500'.\n", __func__); - platform_device_register(&snd_soc_mop500); - pr_info("Initialize MSP I2S-devices.\n"); db8500_add_msp_i2s(parent, 0, U8500_MSP0_BASE, IRQ_DB8500_MSP0, &msp0_platform_data);