summaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-02-07 00:16:45 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:34 -0800
commitf122bfb5a43c6b57733eb7a76ad4ed392be6a910 (patch)
treec16e50c8d703250da8028998a27ba93da5eb28db /drivers/char/mxser.c
parentf83bb2d40a879c21c5085ee8cfc426f9936901ee (diff)
downloadblackbird-op-linux-f122bfb5a43c6b57733eb7a76ad4ed392be6a910.tar.gz
blackbird-op-linux-f122bfb5a43c6b57733eb7a76ad4ed392be6a910.zip
Char: mxser, ioctl cleanup
- remove dead MOXA_GET_CONF (always returned -ENXIO) - remove useless MOXA_GET_CUMAJOR (unused) - use get/put_user instead of copy_from/to_user for simple types - cleanup TIOCMIWAIT -- return -ERESTARTSYS on signal, move condition into separate function Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Reviewed-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/mxser.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud