summaryrefslogtreecommitdiff
path: root/sound/drivers/aloop.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2014-06-16 14:33:46 (GMT)
committerMark Brown <broonie@linaro.org>2014-08-16 22:02:54 (GMT)
commit8ad9f9efcc7656cafb56bbbcd545f817a742bf32 (patch)
treed0241e89fd99678b660c54a98decc2b5556b318a /sound/drivers/aloop.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadlinux-8ad9f9efcc7656cafb56bbbcd545f817a742bf32.tar.xz
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 <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/drivers/aloop.c')
0 files changed, 0 insertions, 0 deletions