linux/drivers/usb/typec
Heikki Krogerus c800c51f58 usb: typec: fusb302: reorganizing the probe function a little
The debugfs needs to be initialized as the last step in
probe in this case. The struct dentry *rootdir can't be
pointing to anything unless driver probe really finishes
successfully.

It is also not necessary to clear the i2c clientdata if the
probe fails, so removing the extra label used for that.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-20 13:37:29 +02:00
..
altmodes usb: typec: unlock dp->lock on error exit path, and also zero ret if successful 2018-07-06 16:36:19 +02:00
fusb302 usb: typec: fusb302: reorganizing the probe function a little 2018-09-20 13:37:29 +02:00
mux usb: typec: pi3usb30532: Start using generic state values 2018-07-02 17:42:36 +02:00
ucsi usb: typec: ucsi: Fix for incorrect status data issue 2018-06-25 21:30:12 +08:00
bus.c usb/typec: fix kernel-doc notation warning for typec_match_altmode 2018-09-05 14:36:53 +02:00
bus.h usb: typec: avoid format-overflow warning 2018-07-06 16:36:19 +02:00
class.c usb: typec: class: Don't use port parent for getting mux handles 2018-09-20 13:37:29 +02:00
Kconfig usb: typec: Add driver for DisplayPort alternate mode 2018-07-02 17:42:36 +02:00
Makefile usb: typec: Add driver for DisplayPort alternate mode 2018-07-02 17:42:36 +02:00
mux.c usb: typec: mux: Get the mux identifier from function parameter 2018-07-02 17:42:36 +02:00
tcpci_rt1711h.c staging: typec: tcpci: move tcpci drivers out of staging 2018-06-28 19:49:48 +09:00
tcpci.c staging: typec: tcpci: move tcpci drivers out of staging 2018-06-28 19:49:48 +09:00
tcpci.h staging: typec: tcpci: move tcpci drivers out of staging 2018-06-28 19:49:48 +09:00
tcpm.c Merge 4.18-rc7 into usb-next 2018-07-30 10:04:58 +02:00
tps6598x.c usb: typec: tps6598x: Remove VLA usage 2018-06-28 19:49:46 +09:00
typec_wcove.c usb: typec: wcove: Remove dependency on HW FSM 2018-05-24 18:17:00 +02:00