[PATCH] usbserial: Fixes wrong return values.
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tue, 13 Jun 2006 01:46:20 +0000 (22:46 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:18 +0000 (15:04 -0700)
Some usbserial functions returns -EINVAL if the port doesn't exist or if
it's not opened. However, the right error code for such situations is
-ENODEV.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found