diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-09-24 06:12:17 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-24 18:53:36 (GMT) |
commit | efeb970ee799b80c984a42d5706081af6047e160 (patch) | |
tree | 66545e818388beb70d45d9e4cc870301b6d2524c /sound/soc/sh/rcar/rsnd.h | |
parent | ef85b642460a4cc84086a7fe20915dae58dabcb2 (diff) | |
download | linux-fsl-qoriq-efeb970ee799b80c984a42d5706081af6047e160.tar.xz |
ASoC: rsnd: remove rsnd_priv_read/write/bset()
adg.c only used rsnd_priv_read/write/bset()
which is the only user of NULL mod.
but, it can be removed.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/sh/rcar/rsnd.h')
-rw-r--r-- | sound/soc/sh/rcar/rsnd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index 9cc6986..3868aaf 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -78,10 +78,6 @@ struct rsnd_dai_stream; #define rsnd_mod_bset(m, r, s, d) \ rsnd_bset(rsnd_mod_to_priv(m), m, RSND_REG_##r, s, d) -#define rsnd_priv_read(p, r) rsnd_read(p, NULL, RSND_REG_##r) -#define rsnd_priv_write(p, r, d) rsnd_write(p, NULL, RSND_REG_##r, d) -#define rsnd_priv_bset(p, r, s, d) rsnd_bset(p, NULL, RSND_REG_##r, s, d) - u32 rsnd_read(struct rsnd_priv *priv, struct rsnd_mod *mod, enum rsnd_reg reg); void rsnd_write(struct rsnd_priv *priv, struct rsnd_mod *mod, enum rsnd_reg reg, u32 data); |