OSDN Git Service

USB: serial: ark3116: move TIOCGSERIAL ioctl case to function
authorMikhail Zaytsev <flashed@mail.ru>
Sat, 6 Jan 2018 17:15:22 +0000 (20:15 +0300)
committerJohan Hovold <johan@kernel.org>
Tue, 9 Jan 2018 11:53:27 +0000 (12:53 +0100)
commite255f2078b1206e51f1abd0623902429db35fb5f
tree898ae9dbe2fda026943ba3a10c259f30e39a8010
parent63443a0b2ab277ef677640bc32b4f94661821b70
USB: serial: ark3116: move TIOCGSERIAL ioctl case to function

The patch moves TIOCGSERIAL ioctl case to get_serial_info function.

Signed-off-by: Mikhail Zaytsev <flashed@mail.ru>
[johan: keep the automatic __user pointer variable in ioctl callback ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ark3116.c