Re: [PATCH v2 1/2] ASoC: Remove 'const' from the device_node pointers

From: Mark Brown
Date: Mon Nov 10 2014 - 14:38:38 EST


On Sun, Nov 09, 2014 at 08:33:45PM +0100, Jean-Francois Moine wrote:

> index 7ba7130..405f967 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -886,7 +886,7 @@ struct snd_soc_platform_driver {
>
> struct snd_soc_dai_link_component {
> const char *name;
> - const struct device_node *of_node;
> + struct device_node *of_node;
> const char *dai_name;
> };
>

The changelog talked about of_node_put() but I'm not seeing anything in
the code which calls that except snd_soc_of_get_dai_name()? Everything
else just does comparisons of the pointer AFIACT from a quick scan
through.

Attachment: signature.asc
Description: Digital signature