]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit238080658681d295968b70e18a05bf877c438bc5
tree0bc0721f4d2ffffb72c819438457cccb626445d3
parentf5fd90926d11b76cf21eb5f833def9000bbaa340
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