whiteheat: switch to ->get_serial()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 12 Sep 2018 11:34:34 +0000 (07:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Oct 2018 04:50:42 +0000 (00:50 -0400)
commitfc6cc979e42264efbff6c01a8c6af144cc3e43e4
tree0bc0721f4d2ffffb72c819438457cccb626445d3
parent57e5723611bb1598bb1cb11a5ec8a4d257f69bb3
whiteheat: switch to ->get_serial()

... and fix the return value - on success it used to have ioctl(2)
fill the user-supplied struct serial_struct and return -ENOTTY.

Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/serial/whiteheat.c