ASoC: rsnd: move .get_status under rsnd_mod_ops

Each mod needs to have .get_status, but current driver is handling it
under rsnd_mod, instead of rsnd_mod_ops.
It is not any make sence. This patch moves it to rsnd_mod_ops, and
tidyup its parameter order to align to other callback functions.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
此提交包含在:
Kuninori Morimoto
2018-10-30 07:46:05 +00:00
提交者 Mark Brown
父節點 0900d1e648
當前提交 7e7fe06de3
共有 11 個檔案被更改,包括 129 行新增127 行删除

查看文件

@@ -613,7 +613,7 @@ int rsnd_adg_probe(struct rsnd_priv *priv)
return -ENOMEM;
ret = rsnd_mod_init(priv, &adg->mod, &adg_ops,
NULL, NULL, 0, 0);
NULL, 0, 0);
if (ret)
return ret;