commit | 59556608139edda5aeeed5f73e435e8ddbb16516 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jan 25 18:22:53 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Thu Jan 26 09:48:43 2017 +0100 |
tree | e6d3f6c441eafd01c05d50eba1c31faf502a419b | |
parent | c6dce2626606ef16434802989466636bc28c1419 [diff] |
USB: serial: ftdi_sio: clean up ioctl handler Clean up the ioctl handler and make sure to pass an unsigned-int rather than serial_struct pointer to the TIOCSERGETLSR helper as this it what the user argument really is. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>