aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorViral Mehta <viral.mehta@einfochips.com>2009-05-05 15:54:23 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:44:50 -0700
commit7dd19e69d131ea34f74397559b422511e54d2911 (patch)
tree1b455948d554cc02cf36d31e3915446c557a424a /drivers/usb/host
parent527c6d7f188f116852141f50b4d008f966bb17f8 (diff)
USB: xhci: replace if-elseif-else with switch-case
Replace if-elseif-else with switch-case to keep the code consistent which is semantically same Switch-case is used here, http://www.spinics.net/lists/linux-usb/msg17201.html Making consistent at other places in usb/core Also easier to read and maintain when USB4.0, 5.0, ... comes Signed-off-by: Viral Mehta <viral.mehta@einfochips.com> Tested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions