13 Nov
2014
13 Nov
'14
8:22 a.m.
On 11/13/2014 01:15 AM, Dylan Reid wrote:
+static struct snd_soc_codec_driver ts3a227e_codec_driver; [...]
- ret = snd_soc_register_codec(&i2c->dev, &ts3a227e_codec_driver,
NULL, 0);
[...]
Since the driver doesn't need anything CODEC specific it could be made a component driver and then you can also use devm_snd_soc_register_component.