1
0
Files
linux/include/sound
Lars-Peter Clausen 96da4e5b2e ASoC: Remove codec field from snd_soc_dapm_widget
There are no more users of this field left so it can finally be removed.
New users should use snd_soc_dapm_to_codec(w->dapm);

The reason why it is removed is because it doesn't fit to well anymore in
the componentized ASoC hierarchy, where DAPM works on the snd_soc_component
level. And the alternative of snd_soc_dapm_to_codec(w->dapm) typically
generates the same amount of code, so there is really no reason to keep it.

For automatic conversion the following coccinelle semantic patch can be used:
// <smpl>
@@
struct snd_soc_dapm_widget *w;
@@
-w->codec
+snd_soc_dapm_to_codec(w->dapm)
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-01-15 11:57:34 +00:00
..
2011-08-17 00:53:54 +09:00
2014-05-05 18:20:22 -07:00
2013-02-14 17:27:17 +00:00
2012-09-28 14:21:54 +01:00
2012-01-03 22:54:56 -05:00
2013-12-30 12:19:26 +00:00
2014-11-28 18:30:19 +01:00
2014-07-04 18:50:51 +01:00
2014-04-18 18:52:18 +01:00
2014-07-02 20:49:25 +01:00
2012-12-24 15:57:20 +00:00
2013-05-08 15:43:56 +02:00
2014-09-15 15:52:03 +02:00
2011-09-20 16:02:16 +01:00