From bea634a220fa4235cc9b2b2b185f0fb1d648af18 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Sat, 14 Nov 2020 17:28:09 +0900 Subject: [PATCH] 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 --- src/timer/user-instance.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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. */ -- 2.47.3