Message ID | 5d97e724-928d-45aa-b526-ee9c0d71dfd5@web.de |
---|---|
State | New |
Headers | show |
Series | usb: typec: stusb160x: Use common code in stusb160x_probe() | expand |
diff --git a/drivers/usb/typec/stusb160x.c b/drivers/usb/typec/stusb160x.c index f3140fc04c12..e610f19126b7 100644 --- a/drivers/usb/typec/stusb160x.c +++ b/drivers/usb/typec/stusb160x.c @@ -777,9 +777,8 @@ static int stusb160x_probe(struct i2c_client *client) } } - fwnode_handle_put(fwnode); - - return 0; + ret = 0; + goto fwnode_put; role_sw_put: if (chip->role_sw)