usb: u132-hcd: fix resource leak
if platform_driver_register fails, cleanup the allocated resource gracefully. Signed-off-by: NMukesh Ojha <mojha@codeaurora.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录