Skip to content
Commit 9997ab35 authored by Jun Li's avatar Jun Li Committed by Greg Kroah-Hartman
Browse files

usb: typec: tpcm: improve error handling of tcpm_register_port



Remove debugfs if tcpm register port fails.

Signed-off-by: default avatarLi Jun <jun.li@nxp.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f84f9ae3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment