Muhammad Falak R Wani c7c5856b6f sound: oss: Use setup_timer and mod_timer.
The function setup_timer combines the initialization of a timer with the
initialization of the timer's function and data fields. The mulitiline
code for timer initialization is now replaced with function setup_timer.

Also, quoting the mod_timer() function comment:
-> mod_timer() is a more efficient way to update the expire field of an
   active timer (if the timer is inactive it will be activated).

Use setup_timer() and mod_timer() to setup and arm a timer, making the
code compact and aid readablity.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-05-17 18:02:20 +02:00
..
2015-05-18 10:27:17 +02:00
2012-10-06 16:47:53 +02:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2015-02-25 20:08:21 +01:00
2012-10-06 16:47:53 +02:00
2014-01-14 16:12:07 +01:00
2012-10-06 16:47:53 +02:00
2012-03-28 18:30:03 +01:00

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox