]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ftdi_sio: rename channel index
authorJohan Hovold <johan@kernel.org>
Sun, 11 Sep 2022 14:02:09 +0000 (16:02 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 15 Sep 2022 06:05:53 +0000 (08:05 +0200)
commit214758ddab5bd6a135eb93fb01a72f6035a89ab3
tree8ec835533019b18d78df164d1b57c324a9940925
parent700d1897445f5efc411a68153e9624e762bba4ee
USB: serial: ftdi_sio: rename channel index

Multi-channel devices require a channel selector to be included in
control requests.

Replace "interface" with the less ambiguous "channel", which is the
terminology used for newer devices, in the corresponding defines and
variables.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.h