11 Feb
2015
11 Feb
'15
1:49 p.m.
On 02/11/2015 11:37 AM, Takashi Sakamoto wrote: [...]
-/**
- snd_ctl_new - create a control instance from the template
- @control: the control template
- @access: the default control access
- Allocates a new struct snd_kcontrol instance and copies the given template
- to the new instance. It does not copy volatile data (access).
- Return: The pointer of the new instance, or %NULL on failure.
- */
-static struct snd_kcontrol *snd_ctl_new(struct snd_kcontrol *control,
unsigned int access)
+static struct snd_kcontrol *ctl_new(struct snd_kcontrol *control,
I'd prefer to keep both the documentation as well as the 'snd_' prefix. Maybe just replace the '/**' with '/*' to prevent it from appearing in the public API documentation.
- Lars