]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: io_ti: add send-port-command helper
authorJohan Hovold <johan@kernel.org>
Mon, 12 Apr 2021 09:47:30 +0000 (11:47 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 13 Apr 2021 16:23:26 +0000 (18:23 +0200)
commit741884673bc21cff77fe20dfe1a2482a31743bcd
tree7dfcea978cb3ae61960769a4707f99b42777f4d1
parenta1bf1f869520aaf390d159c54a290aeb38366985
USB: serial: io_ti: add send-port-command helper

Add a send-port-command helper which takes care of determining the UART
module id when sending commands instead of doing so at every call site.

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