Skip to content
Commit 7b3a766c authored by Rahul Ruikar's avatar Rahul Ruikar Committed by Greg Kroah-Hartman
Browse files

usb: core: endpoint: Fix error path



In function usb_create_ep_devs()
call put_device() when device_register() fails.

Signed-off-by: default avatarRahul Ruikar <rahul.ruikar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 93ad03d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment