Skip to content
Commit 711a3781 authored by Mychaela N. Falconia's avatar Mychaela N. Falconia Committed by Johan Hovold
Browse files

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: default avatarMychaela N. Falconia <falcon@freecalypso.org>
[ johan: fix old style issues; drop braces and random white space ]
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 924a9213
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment