irda: use msecs_to_jiffies() rather than manual calculation
authorXi Wang <xi.wang@gmail.com>
Wed, 21 Dec 2011 02:57:16 +0000 (02:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Dec 2011 20:46:22 +0000 (15:46 -0500)
commit7d6c429b263c2f735f3df8c282cc77a8659e5d74
treebacd15d0f680661de4ba72f167df5052f1cf0ecf
parent5b9932685fa40088e989be0d56f7e41e362e9450
irda: use msecs_to_jiffies() rather than manual calculation

Also use mod_timer() instead of direct assignment to "expires".

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/af_irda.c