All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v4 2/4] ASoC: simple-card: Remove useless function argument
Date: Sun, 9 Nov 2014 10:12:51 +0100	[thread overview]
Message-ID: <ca3a9442e3f26e33ded73cc510f1fae56a275bb5.1415605717.git.moinejf@free.fr> (raw)
In-Reply-To: <cover.1415605716.git.moinejf@free.fr>

The device node pointer 'cpu' is not used in the function
asoc_simple_card_parse_daifmt().

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
 sound/soc/generic/simple-card.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 3e3fec4..ece22d5 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -232,7 +232,6 @@ asoc_simple_card_sub_parse_of(struct device_node *np,
 
 static int asoc_simple_card_parse_daifmt(struct device_node *node,
 					 struct simple_card_data *priv,
-					 struct device_node *cpu,
 					 struct device_node *codec,
 					 char *prefix, int idx)
 {
@@ -309,7 +308,7 @@ static int asoc_simple_card_dai_link_of(struct device_node *node,
 	}
 
 	ret = asoc_simple_card_parse_daifmt(node, priv,
-					    cpu, codec, prefix, idx);
+					    codec, prefix, idx);
 	if (ret < 0)
 		goto dai_link_of_err;
 
-- 
2.1.3


  parent reply	other threads:[~2014-11-10  8:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10  7:48 [PATCH v4 0/4] ASoC: simple-card: Add multi-CODEC support Jean-Francois Moine
2014-11-10  7:48 ` Jean-Francois Moine
2014-11-08 19:06 ` [PATCH v4 1/4] ASoC: core: add multi-codec support in DT Jean-Francois Moine
2014-11-09  9:12 ` Jean-Francois Moine [this message]
2014-11-09 11:22 ` [PATCH v4 3/4] ASoC: simple-card: add multi-CODECs " Jean-Francois Moine
2014-11-10  8:39   ` Arnd Bergmann
2014-11-10  8:39     ` Arnd Bergmann
2014-11-10  9:05     ` Jean-Francois Moine
2014-11-10  9:05       ` Jean-Francois Moine
2014-11-10  9:04       ` Arnd Bergmann
2014-11-09 11:26 ` [PATCH v4 4/4] ASoC: simple-card: Remove useless check Jean-Francois Moine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca3a9442e3f26e33ded73cc510f1fae56a275bb5.1415605717.git.moinejf@free.fr \
    --to=moinejf@free.fr \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.