From: Takashi Sakamoto Date: Sat, 14 Nov 2020 08:28:09 +0000 (+0900) Subject: timer: user_instance: fix function comment X-Git-Tag: v0.1.99~68 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=df2ef95f4df20f453e75b2ad0cbcf34e3e79adef;p=alsa-gobject.git timer: user_instance: fix function comment The function comment for documentation includes wrong descriptions. This commit corrects it. Fixes: 3a6d788bf47d ("timer: user_instance: add an API to attach user instance to another instance as slave") Signed-off-by: Takashi Sakamoto --- diff --git a/src/timer/user-instance.c b/src/timer/user-instance.c index b7e49dc..f6b4cfb 100644 --- a/src/timer/user-instance.c +++ b/src/timer/user-instance.c @@ -254,16 +254,13 @@ void alsatimer_user_instance_attach(ALSATimerUserInstance *self, * @slave_id: The numerical identifier of master instance. * @error: A #GError. * - * Attach the instance to timer device as an slave to another instance indicated - * by a pair of slave_class and slave_id. If the slave_class is for application + * Attach the instance as an slave to another instance indicated by a pair of + * slave_class and slave_id. If the slave_class is for application * (=ALSATIMER_SLAVE_CLASS_APPLICATION), the slave_id is for the PID of * application process which owns the instance of timer. If the slave_class is * for ALSA sequencer (=ALSATIMER_SLAVE_CLASS_SEQUENCER), the slave_id is the * numerical ID of queue bound for timer device. * - * Attach the instance to the timer device. If the given device_id is for - * absent timer device, the instance can be detached with error. - * * The call of function executes ioctl(2) system call with * SNDRV_TIMER_IOCTL_SELECT command for ALSA timer character device. */