| From c1dd06d49881b1e3adca1daa2266a2f9aca948d1 Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Sun, 28 Jul 2013 18:59:25 -0700 |
| Subject: ASoC: rsnd: scu: cleanup empty functions |
| |
| This patch cleanups empty functions on scu |
| |
| Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Signed-off-by: Mark Brown <broonie@linaro.org> |
| (cherry picked from commit 2460719c79854a3bebe569cbfbfa0b1caa1dc434) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| sound/soc/sh/rcar/scu.c | 39 --------------------------------------- |
| 1 file changed, 39 deletions(-) |
| |
| diff --git a/sound/soc/sh/rcar/scu.c b/sound/soc/sh/rcar/scu.c |
| index 29837e326bc5..184d9008cecd 100644 |
| --- a/sound/soc/sh/rcar/scu.c |
| +++ b/sound/soc/sh/rcar/scu.c |
| @@ -146,30 +146,6 @@ static int rsnd_scu_set_hpbif(struct rsnd_priv *priv, |
| return 0; |
| } |
| |
| -static int rsnd_scu_init(struct rsnd_mod *mod, |
| - struct rsnd_dai *rdai, |
| - struct rsnd_dai_stream *io) |
| -{ |
| - struct rsnd_priv *priv = rsnd_mod_to_priv(mod); |
| - struct device *dev = rsnd_priv_to_dev(priv); |
| - |
| - dev_dbg(dev, "%s.%d init\n", rsnd_mod_name(mod), rsnd_mod_id(mod)); |
| - |
| - return 0; |
| -} |
| - |
| -static int rsnd_scu_quit(struct rsnd_mod *mod, |
| - struct rsnd_dai *rdai, |
| - struct rsnd_dai_stream *io) |
| -{ |
| - struct rsnd_priv *priv = rsnd_mod_to_priv(mod); |
| - struct device *dev = rsnd_priv_to_dev(priv); |
| - |
| - dev_dbg(dev, "%s.%d quit\n", rsnd_mod_name(mod), rsnd_mod_id(mod)); |
| - |
| - return 0; |
| -} |
| - |
| static int rsnd_scu_start(struct rsnd_mod *mod, |
| struct rsnd_dai *rdai, |
| struct rsnd_dai_stream *io) |
| @@ -209,24 +185,9 @@ static int rsnd_scu_start(struct rsnd_mod *mod, |
| return 0; |
| } |
| |
| -static int rsnd_scu_stop(struct rsnd_mod *mod, |
| - struct rsnd_dai *rdai, |
| - struct rsnd_dai_stream *io) |
| -{ |
| - struct rsnd_priv *priv = rsnd_mod_to_priv(mod); |
| - struct device *dev = rsnd_priv_to_dev(priv); |
| - |
| - dev_dbg(dev, "%s.%d stop\n", rsnd_mod_name(mod), rsnd_mod_id(mod)); |
| - |
| - return 0; |
| -} |
| - |
| static struct rsnd_mod_ops rsnd_scu_ops = { |
| .name = "scu", |
| - .init = rsnd_scu_init, |
| - .quit = rsnd_scu_quit, |
| .start = rsnd_scu_start, |
| - .stop = rsnd_scu_stop, |
| }; |
| |
| struct rsnd_mod *rsnd_scu_mod_get(struct rsnd_priv *priv, int id) |
| -- |
| 1.8.5.rc3 |
| |