ASoC: rsnd: remove unused rsnd_xxx_to_dma()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b65cb7a590
commit
c16293560a
@ -27,7 +27,6 @@ struct rsnd_src {
|
||||
#define RSND_SRC_NAME_SIZE 16
|
||||
|
||||
#define rsnd_src_get(priv, id) ((struct rsnd_src *)(priv->src) + id)
|
||||
#define rsnd_src_to_dma(src) ((src)->dma)
|
||||
#define rsnd_src_nr(priv) ((priv)->src_nr)
|
||||
#define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val)
|
||||
|
||||
|
@ -99,7 +99,6 @@ struct rsnd_ssi {
|
||||
i++)
|
||||
|
||||
#define rsnd_ssi_get(priv, id) ((struct rsnd_ssi *)(priv->ssi) + id)
|
||||
#define rsnd_ssi_to_dma(mod) ((ssi)->dma)
|
||||
#define rsnd_ssi_nr(priv) ((priv)->ssi_nr)
|
||||
#define rsnd_mod_to_ssi(_mod) container_of((_mod), struct rsnd_ssi, mod)
|
||||
#define rsnd_ssi_flags_has(p, f) ((p)->flags & f)
|
||||
|
Loading…
Reference in New Issue
Block a user