Skip to content
Commit f276e002 authored by Mukesh Ojha's avatar Mukesh Ojha Committed by Greg Kroah-Hartman
Browse files

usb: u132-hcd: fix resource leak



if platform_driver_register fails, cleanup the allocated resource
gracefully.

Signed-off-by: default avatarMukesh Ojha <mojha@codeaurora.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93e1c8a6
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