ASoC: rsnd: remove all rsnd_xxx_remove()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 4 Mar 2014 04:51:11 +0000 (20:51 -0800)
committerMark Brown <broonie@linaro.org>
Wed, 5 Mar 2014 06:07:53 +0000 (14:07 +0800)
Now, rsnd_xxx_remove() do nothing.
remove these

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/scu.c
sound/soc/sh/rcar/ssi.c

index 8df00ac3b12047aaaf763ead6702e26cc3712f01..953f1cce982d8bdd1b0bd2c7649193f76db7493a 100644 (file)
@@ -454,8 +454,3 @@ int rsnd_adg_probe(struct platform_device *pdev,
 
        return 0;
 }
-
-void rsnd_adg_remove(struct platform_device *pdev,
-                    struct rsnd_priv *priv)
-{
-}
index 92e155b7b6a7da364b27fd8176f391319bf5dac7..ceb4e8bd49701b5f7a38e7fa339395f41b055842 100644 (file)
@@ -708,11 +708,6 @@ static int rsnd_dai_probe(struct platform_device *pdev,
        return 0;
 }
 
-static void rsnd_dai_remove(struct platform_device *pdev,
-                         struct rsnd_priv *priv)
-{
-}
-
 /*
  *             pcm ops
  */
@@ -902,15 +897,6 @@ static int rsnd_remove(struct platform_device *pdev)
                        return ret;
        }
 
-       /*
-        *      remove each module
-        */
-       rsnd_ssi_remove(pdev, priv);
-       rsnd_adg_remove(pdev, priv);
-       rsnd_scu_remove(pdev, priv);
-       rsnd_dai_remove(pdev, priv);
-       rsnd_gen_remove(pdev, priv);
-
        return 0;
 }
 
index 92d1bc9acef0a168e4b24f2882200b8b8b5745d8..9094970dbdfb20af77f8cfd46cec195bc3bc68e5 100644 (file)
@@ -385,8 +385,3 @@ int rsnd_gen_probe(struct platform_device *pdev,
 
        return ret;
 }
-
-void rsnd_gen_remove(struct platform_device *pdev,
-                    struct rsnd_priv *priv)
-{
-}
index db20b372195354ab5bf73efc02b60d0bbc33df48..878dc6e20ff2e47851417985cf0bcbe38e44609d 100644 (file)
@@ -261,8 +261,6 @@ int rsnd_dai_pointer_offset(struct rsnd_dai_stream *io, int additional);
  */
 int rsnd_gen_probe(struct platform_device *pdev,
                   struct rsnd_priv *priv);
-void rsnd_gen_remove(struct platform_device *pdev,
-                    struct rsnd_priv *priv);
 void __iomem *rsnd_gen_reg_get(struct rsnd_priv *priv,
                               struct rsnd_mod *mod,
                               enum rsnd_reg reg);
@@ -276,8 +274,6 @@ int rsnd_adg_ssi_clk_stop(struct rsnd_mod *mod);
 int rsnd_adg_ssi_clk_try_start(struct rsnd_mod *mod, unsigned int rate);
 int rsnd_adg_probe(struct platform_device *pdev,
                   struct rsnd_priv *priv);
-void rsnd_adg_remove(struct platform_device *pdev,
-                  struct rsnd_priv *priv);
 int rsnd_adg_set_convert_clk_gen1(struct rsnd_priv *priv,
                                  struct rsnd_mod *mod,
                                  unsigned int src_rate,
@@ -353,8 +349,6 @@ struct rsnd_priv {
  */
 int rsnd_scu_probe(struct platform_device *pdev,
                   struct rsnd_priv *priv);
-void rsnd_scu_remove(struct platform_device *pdev,
-                    struct rsnd_priv *priv);
 struct rsnd_mod *rsnd_scu_mod_get(struct rsnd_priv *priv, int id);
 unsigned int rsnd_scu_get_ssi_rate(struct rsnd_priv *priv,
                                   struct rsnd_dai_stream *io,
@@ -373,8 +367,6 @@ int rsnd_scu_enable_ssi_irq(struct rsnd_mod *ssi_mod,
  */
 int rsnd_ssi_probe(struct platform_device *pdev,
                   struct rsnd_priv *priv);
-void rsnd_ssi_remove(struct platform_device *pdev,
-                  struct rsnd_priv *priv);
 struct rsnd_mod *rsnd_ssi_mod_get(struct rsnd_priv *priv, int id);
 struct rsnd_mod *rsnd_ssi_mod_get_frm_dai(struct rsnd_priv *priv,
                                          int dai_id, int is_play);
index 40250acf608dd19cf3e237d2579b18327469066c..3526a5c2f608c9c17bdeed9c663e5c4ab814748c 100644 (file)
@@ -680,8 +680,3 @@ int rsnd_scu_probe(struct platform_device *pdev,
 
        return 0;
 }
-
-void rsnd_scu_remove(struct platform_device *pdev,
-                    struct rsnd_priv *priv)
-{
-}
index 0f3eeac5615502b5e1c77a01b72b526e5ab5f281..45f828ded935711c769e607a19b2198f8249abbe 100644 (file)
@@ -638,8 +638,3 @@ int rsnd_ssi_probe(struct platform_device *pdev,
 
        return 0;
 }
-
-void rsnd_ssi_remove(struct platform_device *pdev,
-                  struct rsnd_priv *priv)
-{
-}