]> err.no Git - linux-2.6/commit
Char: moxa, little cleanup
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:46 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:43 +0000 (08:29 -0700)
commiteaa95a8da6366c34d3a61e93109e5f8f8a4e72a0
tree9e42c6345bfa6ea86955751b049c38db6a71cc18
parenta8f5cda067e2eeefe49fe386caf0f61fc5c825e0
Char: moxa, little cleanup

Cleanup of
- whitespace
- macros
- useless casts
- return (sth); -> return sth;
- types
- superfluous parenthesis and braces
- init tmp directly in moxa_get_serial_info
- commented defunct code
- commented prototypes
- MOXA/moxa printk case

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