diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c index e97895999e0e..ef746bb7e9cb 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c @@ -832,8 +832,8 @@ static const struct phy_ops rockchip_usb2phy_ops = { /* Show & store the current value of otg mode for otg port */ static ssize_t otg_mode_show(struct device *device, - struct device_attribute *attr, - char *buf) + struct device_attribute *attr, + char *buf) { struct rockchip_usb2phy *rphy = dev_get_drvdata(device); struct rockchip_usb2phy_port *rport = NULL; @@ -868,8 +868,8 @@ static ssize_t otg_mode_show(struct device *device, } static ssize_t otg_mode_store(struct device *device, - struct device_attribute *attr, - const char *buf, size_t count) + struct device_attribute *attr, + const char *buf, size_t count) { struct rockchip_usb2phy *rphy = dev_get_drvdata(device); struct rockchip_usb2phy_port *rport = NULL; @@ -1602,7 +1602,6 @@ static int rockchip_usb2phy_otg_port_init(struct rockchip_usb2phy *rphy, ret = rockchip_set_vbus_power(rport, true); if (ret) return ret; - } goto out; }