From patchwork Thu Sep 20 12:12:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11557 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 113261B4E37 for ; Thu, 20 Sep 2012 12:13:42 +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 9D8E0A184EA for ; Thu, 20 Sep 2012 12:13:41 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1561861iaf.11 for ; Thu, 20 Sep 2012 05:13:41 -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=AlQ5VoPH/x62x7KodlNeLe1TmjShA/MkgSRGXX4ZvXI=; b=fwsmaTeaRv/tET7b8TUtW2L9mjTAt5yv5KTyWz/RsD2yupAgBU5eEBAH5fRn+6Dldl UXhbaJVxCADcRNx4i6Nc4DKisGpF4VpQttxbjUCPf6U9R9TD8BkMacc6OCfc0zccR9Ty XUoWSTKDh6sKuQpzRwaEb3PKcSz5EuKezcdbWUrbBdr/AaSF7Qxpdg4F1Ag8g1rYyMpn ShFqhCKaS1/lb95RGjQpFYuJfeE+X+ckSEPOz6kP8x6EtSWmOd8KYv/Y7pOPUAtM4CQx B1yZRLjx7KSfYy+Kf3ub8Y2D+xSltB+OsMe6ziKGarTW9fDIvdMl5Iyw0SkT/5aDKMZ6 4Y3Q== Received: by 10.42.110.130 with SMTP id q2mr1182698icp.53.1348143221446; Thu, 20 Sep 2012 05:13:41 -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 ex8csp71631igc; Thu, 20 Sep 2012 05:13:40 -0700 (PDT) Received: by 10.180.81.165 with SMTP id b5mr5602661wiy.17.1348143219462; Thu, 20 Sep 2012 05:13:39 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id d7si7320804wec.86.2012.09.20.05.13.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by wibhi8 with SMTP id hi8so443101wib.13 for ; Thu, 20 Sep 2012 05:13:39 -0700 (PDT) Received: by 10.216.212.225 with SMTP id y75mr1041458weo.39.1348143218856; Thu, 20 Sep 2012 05:13:38 -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.37 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:38 -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 20/32] ARM: ux500: Stop registering the MOP500 Audio driver from platform code Date: Thu, 20 Sep 2012 14:12:38 +0200 Message-Id: <1348143170-2130-21-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: ALoCoQnE20rHhSoB2faCZCuhQVVsoNMpIk485NIPdid0Xihfqu3sAGlX/SsYZHiyuKQS0qZRlv89 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 1c60135..ddc74c5 100644 --- a/arch/arm/mach-ux500/board-mop500-msp.c +++ b/arch/arm/mach-ux500/board-mop500-msp.c @@ -174,9 +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("%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);