]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
usb: common: convert to use match_string() helper
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 17 Mar 2016 21:22:38 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commitefc2cd7937fd3c32a8e0ffcdfa2603989f0a2faa
treeff614d9c04a4e366fd3934f4203f2ff1d467303f
parent9adb9254f4b0f591282f713de5356a9e75a44da3
usb: common: convert to use match_string() helper

The new helper returns index of the mathing string in an array.  We
would use it here.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/common/common.c