USB: serial: sierra: unify quirk handling logic
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2020 09:42:57 +0000 (11:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2020 06:58:49 +0000 (08:58 +0200)
commit66f092ed3b94de867a28f77d39bac53395b872e4
tree32e451e6eefc3d3b458d7c2983a4441ab9ddeee1
parent4a7375edf29c6e9a095e4fe674b28e536ae590de
USB: serial: sierra: unify quirk handling logic

The sierra driver had two different functions for trying to determine
different quirks that did the same exact thing.  Remove one and rename
things to make it more obvious exactly what the different lists do.

Cc: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20200618094300.1887727-6-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/sierra.c