tree-wide: use reinit_completion instead of INIT_COMPLETION
[deliverable/linux.git] / drivers / media / radio / si470x / radio-si470x-common.c
index 5c57e5b0f94920b8ed56fcd6431004463d8194f3..0bd250068285baabbe701929395d61b0f8d3bcc3 100644 (file)
@@ -218,7 +218,7 @@ static int si470x_set_chan(struct si470x_device *radio, unsigned short chan)
                goto done;
 
        /* wait till tune operation has completed */
-       INIT_COMPLETION(radio->completion);
+       reinit_completion(&radio->completion);
        retval = wait_for_completion_timeout(&radio->completion,
                        msecs_to_jiffies(tune_timeout));
        if (!retval)
@@ -341,7 +341,7 @@ static int si470x_set_seek(struct si470x_device *radio,
                return retval;
 
        /* wait till tune operation has completed */
-       INIT_COMPLETION(radio->completion);
+       reinit_completion(&radio->completion);
        retval = wait_for_completion_timeout(&radio->completion,
                        msecs_to_jiffies(seek_timeout));
        if (!retval)
This page took 0.025796 seconds and 5 git commands to generate.