Julia Lawall 64ca77d9f5
ASoC: mmp-sspa: drop unneeded snd_soc_dai_set_drvdata
snd_soc_dai_set_drvdata is not needed when the set data comes from
snd_soc_dai_get_drvdata or dev_get_drvdata.  The problem was fixed
usingthe following semantic patch: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,y,e;
@@
	x = dev_get_drvdata(y->dev)
	... when != x = e
-	snd_soc_dai_set_drvdata(y,x);

@@
expression x,y,e;
@@
	x = snd_soc_dai_get_drvdata(y)
	... when != x = e
-	snd_soc_dai_set_drvdata(y,x);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20210213101907.1318496-2-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-10 13:07:05 +00:00
..
2020-07-23 19:07:27 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2020-07-23 19:07:27 +01:00
2020-07-23 19:07:27 +01:00
2020-07-23 19:07:27 +01:00