OSDN Git Service

USB: serial: ti_usb_3410_5052: add port-command helpers
authorJohan Hovold <johan@kernel.org>
Mon, 12 Apr 2021 09:47:36 +0000 (11:47 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 13 Apr 2021 16:24:51 +0000 (18:24 +0200)
commit3bfe43988c93ada8c8fc8fb16c95271381606289
tree5757517c369afdf3ce97dcf28bc7ab21b374604f
parentd24223367d21240c1985456859daddb5e7d227b8
USB: serial: ti_usb_3410_5052: add port-command helpers

Add two port-command helpers to handle the UART module-id parameter
instead of open coding.

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