Char: moxa, fix and optimise empty timer
authorJiri Slaby <jirislaby@gmail.com>
Thu, 18 Oct 2007 10:06:19 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:26 +0000 (14:37 -0700)
commitc43422053bea7a5ce09f18d0c50a606fe1a549f4
treeee04c7bf4f6009f026c704db97032af370bcc19f
parentfc37449f7959aeedc2d38b183468ae73c9166fb6
Char: moxa, fix and optimise empty timer

moxa, fix and optimise empty timer

don't wait and delete empty timer in empty timer function. Also fire next
empty timer at rounded jiffies to save power.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c