From: Jiri Slaby Date: Thu, 7 Feb 2008 08:16:45 +0000 (-0800) Subject: Char: mxser, ioctl cleanup X-Git-Tag: v2.6.25-rc1~306 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f122bfb5a43c6b57733eb7a76ad4ed392be6a910;p=pandora-kernel.git 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 Cc: Alan Cox Reviewed-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed