ASoC: simple-card: Remove useless function argument
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> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0099c76285
commit
7195d920bd
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
static int asoc_simple_card_parse_daifmt(struct device_node *node,
|
||||||
struct simple_card_data *priv,
|
struct simple_card_data *priv,
|
||||||
struct device_node *cpu,
|
|
||||||
struct device_node *codec,
|
struct device_node *codec,
|
||||||
char *prefix, int idx)
|
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,
|
ret = asoc_simple_card_parse_daifmt(node, priv,
|
||||||
cpu, codec, prefix, idx);
|
codec, prefix, idx);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto dai_link_of_err;
|
goto dai_link_of_err;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue