Char: rio, fix sparse warnings
commit212e7bb6cda5dd3c4ad97a7aedef705028ced4ad
authorJiri Slaby <jirislaby@gmail.com>
Wed, 2 Apr 2008 20:04:48 +0000 (2 13:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2008 22:28:19 +0000 (2 15:28 -0700)
treef2257e37b2bd8e10c25be610c1648f627efaf525
parent3d0ae36ea973b42e1c636210433aebef4426c5bf
Char: rio, fix sparse warnings

Add some locks and unlocks to some code paths.

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/rio/riotable.c
drivers/char/rio/riotty.c