From patchwork Fri Aug 24 14:01:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10933 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 19C6223E1B for ; Fri, 24 Aug 2012 14:02:24 +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 EC15AA18957 for ; Fri, 24 Aug 2012 14:02:05 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1165440iaf.11 for ; Fri, 24 Aug 2012 07:02:23 -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=SmjBbY19RTMmY5ciyeZqcjRtF3H3cHF7MLtDzV6e9Gg=; b=LT12ySuZ5JU0Sn76jsSzWA23z+4GhNTWTCcZcasdIQUrZFqmT+R2OkAX7SEXsz1SP9 2XJVfBMQ9EF0A3JR6DCUKjOkUAfR5uN8ysMJI3bWoMaUUyna6E5E1jtDq+uxE8jdjl9A 40GVrJtc5Q8QosymL0xDFQz4PK73JiZnQik3ceemLLqteFxT7PGMuBMfpM25rYV1LAAH +tQj/nmsTipgyRPhQZkChUME2utuCx1SEI2JpAtRE3wpWXWyzTeuSe9srujkPa3rlYR7 mubOi1SA3qr0LF2lLJ4bxvkL978isV/VCfobpSWOPIk3MxNNd+7grKLlcYGL4LzRrorf kueA== Received: by 10.50.10.201 with SMTP id k9mr2289978igb.28.1345816943021; Fri, 24 Aug 2012 07:02:23 -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 ex8csp321604igc; Fri, 24 Aug 2012 07:02:21 -0700 (PDT) Received: by 10.180.100.131 with SMTP id ey3mr5793301wib.15.1345816941199; Fri, 24 Aug 2012 07:02:21 -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 g46si14387453weq.132.2012.08.24.07.02.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:21 -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 mail-wi0-f172.google.com with SMTP id r5so743350wic.13 for ; Fri, 24 Aug 2012 07:02:20 -0700 (PDT) Received: by 10.216.134.101 with SMTP id r79mr2780479wei.60.1345816940093; Fri, 24 Aug 2012 07:02:20 -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.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:19 -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 05/17] ASoC: Ux500: Minor coding layout changes Date: Fri, 24 Aug 2012 15:01:41 +0100 Message-Id: <1345816913-4113-6-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: ALoCoQksCMYUEwRyU4Z/IdRg4q3Jrpbdz9N0SpPhMXmrwRIp+fU/Lk7KP2ruNwXHV+Z7KqwsqrFt 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). 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; }