diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-11-10 08:14:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-18 21:08:16 +0300 |
commit | 2ea6b0749c366787dbf6e87c7642e23b448ca63b (patch) | |
tree | 35b1ff1f7295010a8bf1c3c431d903997313a011 /sound/soc/sh/rcar/ctu.c | |
parent | 2ea2cc86db7c73dc4e3a9fc3232cb04fe1b1ab91 (diff) | |
download | linux-2ea6b0749c366787dbf6e87c7642e23b448ca63b.tar.xz |
ASoC: rsnd: remove struct platform_device from probe/remove parameter
Current Renesas sound driver requests struct platform_device on
probe/remove for each modules. But driver can get it by
rsnd_priv_to_pdev(). This patch removes unnecessary parameter
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/ctu.c')
-rw-r--r-- | sound/soc/sh/rcar/ctu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/ctu.c b/sound/soc/sh/rcar/ctu.c index 3e36a5325ce4..7c1e190cd389 100644 --- a/sound/soc/sh/rcar/ctu.c +++ b/sound/soc/sh/rcar/ctu.c @@ -77,8 +77,7 @@ struct rsnd_mod *rsnd_ctu_mod_get(struct rsnd_priv *priv, int id) return rsnd_mod_get(rsnd_ctu_get(priv, id)); } -int rsnd_ctu_probe(struct platform_device *pdev, - struct rsnd_priv *priv) +int rsnd_ctu_probe(struct rsnd_priv *priv) { struct device_node *node; struct device_node *np; @@ -143,8 +142,7 @@ rsnd_ctu_probe_done: return ret; } -void rsnd_ctu_remove(struct platform_device *pdev, - struct rsnd_priv *priv) +void rsnd_ctu_remove(struct rsnd_priv *priv) { struct rsnd_ctu *ctu; int i; |