ASoC: rsnd: add rsnd_mod_get() macro and use it
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 10 Sep 2015 07:02:21 +0000 (07:02 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 14 Sep 2015 18:47:31 +0000 (19:47 +0100)
commitb76e218ae5e5e8d8025b75066e82ad0674e2e845
treeab4c3b3f6063027098d8356c09407830e976a833
parentac37a45b0b6c8400719bb837f1c321079b72db53
ASoC: rsnd: add rsnd_mod_get() macro and use it

Renesas sound driver has SSI/SRC/DVC/CTU/MIX, and these are controlled
as modules. And these module are member of each modules's private data.
It used own method to get module pointer, but Let's use common method

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ctu.c
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/mix.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c