diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-11-10 05:13:12 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-18 18:08:16 +0000 |
commit | 348d592c719da61a7dab289c7ce36e73c7caf063 (patch) | |
tree | 3219273fd331f9432937b4b9890db61ae7af682b /sound/soc/sh/rcar/gen.c | |
parent | 9eaa1a6f7e31ead7e2b8eb762455e77376bd87cc (diff) | |
download | talos-op-linux-348d592c719da61a7dab289c7ce36e73c7caf063.tar.gz talos-op-linux-348d592c719da61a7dab289c7ce36e73c7caf063.zip |
ASoC: rsnd: remove platform boot support from gen.c
No board is using Renesas sound driver via platform boot now.
This means all user is using DT boot. Platform boot support is
no longer needed. But, it strongly depends on platform boot style.
This patch removes platform boot support from gen.c
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/gen.c')
-rw-r--r-- | sound/soc/sh/rcar/gen.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sound/soc/sh/rcar/gen.c b/sound/soc/sh/rcar/gen.c index 1808fc64646c..099a1cd2d245 100644 --- a/sound/soc/sh/rcar/gen.c +++ b/sound/soc/sh/rcar/gen.c @@ -349,18 +349,6 @@ static int rsnd_gen1_probe(struct platform_device *pdev, /* * Gen */ -static void rsnd_of_parse_gen(struct platform_device *pdev, - const struct rsnd_of_data *of_data, - struct rsnd_priv *priv) -{ - struct rcar_snd_info *info = priv->info; - - if (!of_data) - return; - - info->flags = of_data->flags; -} - int rsnd_gen_probe(struct platform_device *pdev, const struct rsnd_of_data *of_data, struct rsnd_priv *priv) @@ -369,8 +357,6 @@ int rsnd_gen_probe(struct platform_device *pdev, struct rsnd_gen *gen; int ret; - rsnd_of_parse_gen(pdev, of_data, priv); - gen = devm_kzalloc(dev, sizeof(*gen), GFP_KERNEL); if (!gen) { dev_err(dev, "GEN allocate failed\n"); |