From patchwork Tue Jul 31 13:39:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1260361 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 89750DF26F for ; Tue, 31 Jul 2012 14:23:27 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SwDEy-0007EC-4w; Tue, 31 Jul 2012 14:16:05 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SwCfj-0007va-4B for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2012 13:39:39 +0000 Received: by mail-we0-f177.google.com with SMTP id r3so4893020wey.36 for ; Tue, 31 Jul 2012 06:39:38 -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=xjwaTv0hEPGpjBpyt26yO/Znh38rrA7iKXU1rJ6WwbE=; b=if03MwavlxpZUBFocisITUf/C8JuUYYbnHmtydL5d5F9p0g3ID7x2qhEAYa7mZOXLP lwp+UCQe6bX8oBmgrPhemzrtz/mZoQsEW8Ev/5p849J0SsirvpXPDLfMvkP9cPD5Qdxz W345fXvq3IOP50BUgfEYrH/KLHKB9TnivjkYFF+jCzQwnFfofJtWO3cVUFgAqYMvnepp 62BQk4ky2RPq1Bhi69xYYCR+0R0FJz1c0Kj+pET7abnRznme0qKivaDaR4OqikQ20TA+ TkRm05XTJfRiCeuk49Lw54OENbrf31apo16zoGxRH3P6L9u9Zr2XQKJUICSo2gvfVkDt TKcw== Received: by 10.216.132.76 with SMTP id n54mr7384236wei.135.1343741978712; Tue, 31 Jul 2012 06:39:38 -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.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:38 -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 10/19] ARM: ux500: Stop registering the MOP500 Audio driver from platform code Date: Tue, 31 Jul 2012 14:39:04 +0100 Message-Id: <1343741953-17828-11-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: ALoCoQm1bFWGh5WLGIqX9nXLShB9gR+ePE6/DYZmhJCk0adzlWVXuKvz4TqNrKSuui7HEWo0c2xn 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 In this patch we prevent MOP500 driver registration from platform code and rely solely on Device Tree to do the probing for us. 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 3328c3a..71d62ed 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);