From: Sylwester Nawrocki Date: Mon, 16 Jun 2014 14:33:46 +0000 (+0200) Subject: ASoC: Drop const from struct snd_soc_dai_link *of_node members X-Git-Tag: omap-for-v3.19/prcm-cleanup~125^2~8^2~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ad9f9efcc7656cafb56bbbcd545f817a742bf32;p=pandora-kernel.git ASoC: Drop const from struct snd_soc_dai_link *of_node members 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 avoid casting to struct device_node * or caching variables internally in drivers just to be able to properly drop a reference to the OF node on clean up paths. Signed-off-by: Sylwester Nawrocki Signed-off-by: Mark Brown --- Reading git-diff-tree failed