USB: serial: use dev_err_console in generic write
authorJohan Hovold <jhovold@gmail.com>
Fri, 10 Feb 2012 12:20:50 +0000 (13:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2012 18:21:04 +0000 (10:21 -0800)
commitf1475a00a11b07e6ac7f97971466c1bfbf491957
treec09e56e7d2c3891a36edd3a2037804f8c2a95ca3
parent548dd4b6da8a8e428453d55f7fa7b8a46498d147
USB: serial: use dev_err_console in generic write

Use dev_err_console in write path so that an error at least gets
reported once.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/generic.c