aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2011-06-29 16:41:54 +0300
committerGreg Kroah-Hartman <[email protected]>2011-07-01 14:27:07 -0700
commite4fe056ed3a350ec569aa25014a0982883bc03c1 (patch)
treef687114b484e9e33e12dffbac288352814bc761c /tools/perf/scripts/python
parent7eca4c5a8b73f22ad16ad6e76b901351732355da (diff)
usb: gadget: net2272: cleanup pci_register_driver() error path
In case pci_register_driver() fails it error will be 0 in case platform_driver_register() was fine. Also without PCI pci_register_driver() evaluates to 1 which is well, special. If platform_driver_register() returns EINVAL or EBUSY we end up with 0. Acked-by: Mike Frysinger <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions