diff options
author | Mychaela N. Falconia <falcon@freecalypso.org> | 2020-10-02 18:49:37 +0000 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-10-05 13:01:09 +0200 |
commit | 711a37813ad9878232efa51e9c7e2bd875337b14 (patch) | |
tree | 7d9ee29563e94ec169cd21276e7e2f9affc2edbe /fs/cifs/cifs_fs_sb.h | |
parent | 924a9213358fb92fa3c3225d6d042aa058167405 (diff) | |
download | linux-rt-711a37813ad9878232efa51e9c7e2bd875337b14.tar.gz |
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 'fs/cifs/cifs_fs_sb.h')
0 files changed, 0 insertions, 0 deletions