]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Char: moxa, merge 2 poll functions
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:43 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:43 +0000 (08:29 -0700)
commit7bcf97d1dd88135b58c7adb7c3bfebab55b21a20
tree0b0001fb83cb512256944d47b62b9d3d3fcfd542
parent74d7d97b9e2a090a4b1812b5074ac6c539234ebb
Char: moxa, merge 2 poll functions

- merge 2 timers into one -- one can handle the emptywait as good as the other
- merge 2 separated poll functions into one, this allows handle the actions
  directly and simplifies the code

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