diff options
author | Johan Hovold <johan@kernel.org> | 2017-02-06 18:28:14 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-02-06 20:29:17 +0300 |
commit | 16620b483eaf7750413bae472f4363b6b959fcaa (patch) | |
tree | 5cb6ba8dcd84f040baea6684f869b0eaadc94cba /.gitignore | |
parent | a6bb1e17a39818b01b55d8e6238b4b5f06d55038 (diff) | |
download | linux-16620b483eaf7750413bae472f4363b6b959fcaa.tar.xz |
USB: serial: sierra: fix bogus alternate-setting assumption
Interface numbers do not change when enabling alternate settings as
comment and code in this driver suggested.
Remove the confusing comment and redundant retrieval of the interface
number in probe, while simplifying and renaming the interface-number
helper.
Fixes: 4db2299da213 ("sierra: driver interface blacklisting")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions