OSDN Git Service

ASoC: siu: don't use discriminatory terms for parameter
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Jul 2020 00:07:01 +0000 (09:07 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2020 15:38:23 +0000 (16:38 +0100)
siu is using discriminatory terms for function parameter.
This patch changes it to "secondary"

One note here is that it do nothing to DMA related naming
for now, because it needs framework level modification.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87d04z3qqg.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/siu_pcm.c

index 6a6ffd6..bd9de77 100644 (file)
@@ -281,11 +281,11 @@ static int siu_pcm_stmread_stop(struct siu_port *port_info)
        return 0;
 }
 
-static bool filter(struct dma_chan *chan, void *slave)
+static bool filter(struct dma_chan *chan, void *secondary)
 {
-       struct sh_dmae_slave *param = slave;
+       struct sh_dmae_slave *param = secondary;
 
-       pr_debug("%s: slave ID %d\n", __func__, param->shdma_slave.slave_id);
+       pr_debug("%s: secondary ID %d\n", __func__, param->shdma_slave.slave_id);
 
        chan->private = &param->shdma_slave;
        return true;