Re: [PATCH/RFC] ASoC: Drop const from struct snd_soc_dai_link *of_node members

2014-08-16 Thread Mark Brown
On Mon, Jun 16, 2014 at 04:33:46PM +0200, Sylwester Nawrocki wrote: > Dropping the const qualifiers prevents "passing argument 1 of ‘of_node_put’ > discards ‘const’ qualifier from pointer target type" type warnings when > compiling the code dropping reference to cpu_of_node, codec_of_node or > plat

[PATCH/RFC] ASoC: Drop const from struct snd_soc_dai_link *of_node members

2014-06-16 Thread Sylwester Nawrocki
Dropping the const qualifiers prevents "passing argument 1 of ‘of_node_put’ discards ‘const’ qualifier from pointer target type" type warnings when compiling the code dropping reference to cpu_of_node, codec_of_node or platform_of_node with with an of_node_put() function call. This lets us to avoi