Re: [PATCH 2/8] ASoC: cs35l32: Constify struct regmap_config and snd_soc_codec_driver

From: Brian Austin
Date: Mon Jan 05 2015 - 10:09:21 EST


> The regmap_config struct may be const because it is not modified by the
> driver and regmap_init() accepts pointer to const. Make struct
> snd_soc_codec_driver const as well (snd_soc_register_codec() accepts
> pointer to const).
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
> Cc: Brian Austin <brian.austin@xxxxxxxxxx>
> Cc: Paul Handrigan <Paul.Handrigan@xxxxxxxxxx>
For the Cirrus Codecs

Acked-by: Brian Austin <brian.austin@xxxxxxxxxx>

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/