Char: cyclades, cy_readX/writeX cleanup
authorJiri Slaby <jirislaby@gmail.com>
Tue, 8 May 2007 07:35:46 +0000 (00:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:22 +0000 (11:15 -0700)
commitdb05c3b1ddaa06e658548f3d99e31a188b0b3bcc
tree5b645d4da752988c21b6a66c7afe8a34f994c8df
parentffa68e79ffa952ec909b66505f004e7323316369
Char: cyclades, cy_readX/writeX cleanup

cyclades, cy_readX/writeX cleanup

- cy_readX are placeholders for readX, remove it
- move cy_writeX macros into do {} while(0) to be safe

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/cyclades.c
include/linux/cyclades.h