mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
phy: rockchip-inno-usb2: fix some coding style issues
This patch fix some coding style issues reported by checkpatch.pl. Change-Id: I6a0163fb849203e722dc0e462ddaf3f96cd080a7 Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user