diff options
author | 2020-10-02 18:49:37 +0000 | |
---|---|---|
committer | 2020-10-05 13:01:09 +0200 | |
commit | 711a37813ad9878232efa51e9c7e2bd875337b14 (patch) | |
tree | 7d9ee29563e94ec169cd21276e7e2f9affc2edbe /scripts/bpf_helpers_doc.py | |
parent | USB: serial: option: Add Telit FT980-KS composition (diff) | |
download | linux-dev-711a37813ad9878232efa51e9c7e2bd875337b14.tar.xz linux-dev-711a37813ad9878232efa51e9c7e2bd875337b14.zip |
USB: serial: ftdi_sio: use cur_altsetting for consistency
ftdi_determine_type() function had this construct in it to get the
number of the interface it is operating on:
inter = serial->interface->altsetting->desc.bInterfaceNumber;
Elsewhere in this driver cur_altsetting is used instead for this
purpose. Change ftdi_determine_type() to use cur_altsetting
for consistency.
Signed-off-by: Mychaela N. Falconia <falcon@freecalypso.org>
[ johan: fix old style issues; drop braces and random white space ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions