]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - sound/core/jack.c
ALSA: add/change some comments describing function return values
[mirror_ubuntu-artful-kernel.git] / sound / core / jack.c
index a06b1651fcba02f9003f5b9a07ad2c72fb2dea14..b35fe7345c203c557d2baa5d0cbb778afac2dfb9 100644 (file)
@@ -98,8 +98,8 @@ static int snd_jack_dev_register(struct snd_device *device)
  *
  * Creates a new jack object.
  *
- * Returns zero if successful, or a negative error code on failure.
- * On success jjack will be initialised.
+ * Return: Zero if successful, or a negative error code on failure.
+ * On success @jjack will be initialised.
  */
 int snd_jack_new(struct snd_card *card, const char *id, int type,
                 struct snd_jack **jjack)
@@ -189,6 +189,8 @@ EXPORT_SYMBOL(snd_jack_set_parent);
  * using this abstraction.
  *
  * This function may only be called prior to registration of the jack.
+ *
+ * Return: Zero if successful, or a negative error code on failure.
  */
 int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
                     int keytype)