From patchwork Thu Sep 20 12:09:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11534 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 953C21B4E37 for ; Thu, 20 Sep 2012 12:09:35 +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 333E13D098E9 for ; Thu, 20 Sep 2012 12:09:35 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so2716784iej.11 for ; Thu, 20 Sep 2012 05:09:35 -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=9TAhW/crSKsaOi9L6aB5Z7YnSsuxAF71hNfwwDlOdSA=; b=o94F45Da/DDFoL550p8ZAS6xv3U3yi8S8nqylW1R6vPIQc5LWMyPlh4lRihtwJR5N5 N5QQXGFW1o4iJl6/CiEoPms8gahnXAFOylIp3jWPEKYQFzS6evuy7flcmnL0rwD6oi8Q 3tjBnE/3igrawJjk7LrqJzF09SOYbqR2L0R0GiJawRoYYCJoR2RW1DlVPPlUQ0G72JhP HryEuwVitsJhWRmZ41Ic7Drdg7QSsmG9c4p0uUsxX3N1wuxSXbyWavj/DpZC9wQU3oQ4 8UgCqlUa1wr6h7yPdY/2oMru+EuZdQWYcEv2ogXfXGdMpq/j+Zsi1CNh5ckRGOSy9BGU 46BA== Received: by 10.50.7.212 with SMTP id l20mr1428937iga.43.1348142974939; Thu, 20 Sep 2012 05:09:34 -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 ex8csp71429igc; Thu, 20 Sep 2012 05:09:34 -0700 (PDT) Received: by 10.216.136.157 with SMTP id w29mr1011527wei.148.1348142973410; Thu, 20 Sep 2012 05:09:33 -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 q52si7276645wea.149.2012.09.20.05.09.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:09:33 -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 u7so1479955wey.37 for ; Thu, 20 Sep 2012 05:09:33 -0700 (PDT) Received: by 10.180.20.11 with SMTP id j11mr4119037wie.12.1348142972918; Thu, 20 Sep 2012 05:09:32 -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 o2sm10403731wiz.11.2012.09.20.05.09.31 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:09:32 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 5/7] ASoC: Ux500: Minor coding layout changes Date: Thu, 20 Sep 2012 14:09:14 +0200 Message-Id: <1348142956-1872-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348142956-1872-1-git-send-email-lee.jones@linaro.org> References: <1348142956-1872-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlEyPI6zznXLIjDXwLWZrNMXN9gPbcLxAkzvISrIr0AZkKaYU3oCV1jSYx44lIU5voWI/c7 Includes removal of duplicate debug print affirming entry into the probe function, an unnecessary line break of a coding line <80 chars and a white space change (unintentional tab). Acked-by: Ola Lilja Signed-off-by: Lee Jones --- sound/soc/ux500/mop500.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c index 6840df7..356611d 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c @@ -88,8 +88,6 @@ static int __devinit mop500_probe(struct platform_device *pdev) struct device_node *np = pdev->dev.of_node; int ret; - pr_debug("%s: Enter.\n", __func__); - dev_dbg(&pdev->dev, "%s: Enter.\n", __func__); mop500_card.dev = &pdev->dev; @@ -117,8 +115,7 @@ static int __devinit mop500_probe(struct platform_device *pdev) ret = snd_soc_register_card(&mop500_card); if (ret) dev_err(&pdev->dev, - "Error: snd_soc_register_card failed (%d)!\n", - ret); + "Error: snd_soc_register_card failed (%d)!\n", ret); return ret; } @@ -131,7 +128,7 @@ static int __devexit mop500_remove(struct platform_device *pdev) snd_soc_unregister_card(mop500_card); mop500_ab8500_remove(mop500_card); - + return 0; }