diff options
author | Rahul Ruikar <rahul.ruikar@gmail.com> | 2010-10-07 04:01:12 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 17:22:06 (GMT) |
commit | 7b3a766c7b9bce07875098cb68642df2b8f0b152 (patch) | |
tree | 44c919d975ce34d2c7498c0814ed354a8b8c114e /drivers/usb/gadget | |
parent | 93ad03d60b5b18897030038234aa2ebae8234748 (diff) | |
download | linux-fsl-qoriq-7b3a766c7b9bce07875098cb68642df2b8f0b152.tar.xz |
usb: core: endpoint: Fix error path
In function usb_create_ep_devs()
call put_device() when device_register() fails.
Signed-off-by: Rahul Ruikar <rahul.ruikar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions