USB: serial: io_ti: add read-port-command helper
authorJohan Hovold <johan@kernel.org>
Mon, 12 Apr 2021 09:47:31 +0000 (11:47 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 13 Apr 2021 16:23:29 +0000 (18:23 +0200)
commit13c613393cee59a6f6fd4627f7003606392690d1
tree2aa40c6b487f854afc9e8fdb169b023c91880baa
parent7a14fac0c94472ad2d11ac14cefbeab5bf98e303
USB: serial: io_ti: add read-port-command helper

Add a read-port-command helper analogous to the send-port-command
helper to take care of the UART module id instead of open coding.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/io_ti.c