Commit 0e65ba28 authored by Vivek Gautam's avatar Vivek Gautam Committed by Kishon Vijay Abraham I

phy: fix semicolon.cocci warnings

Remove unneeded semicolon.

Generated by: coccinellery/semicolon/semicolon.cocci
Signed-off-by: default avatarVivek Gautam <vivek.gautam@codeaurora.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent b3e78cbc
...@@ -140,7 +140,7 @@ static inline void __iomem *brcm_sata_pcb_base(struct brcm_sata_port *port) ...@@ -140,7 +140,7 @@ static inline void __iomem *brcm_sata_pcb_base(struct brcm_sata_port *port)
default: default:
dev_err(priv->dev, "invalid phy version\n"); dev_err(priv->dev, "invalid phy version\n");
break; break;
}; }
return priv->phy_base + (port->portnum * size); return priv->phy_base + (port->portnum * size);
} }
...@@ -157,7 +157,7 @@ static inline void __iomem *brcm_sata_ctrl_base(struct brcm_sata_port *port) ...@@ -157,7 +157,7 @@ static inline void __iomem *brcm_sata_ctrl_base(struct brcm_sata_port *port)
default: default:
dev_err(priv->dev, "invalid phy version\n"); dev_err(priv->dev, "invalid phy version\n");
break; break;
}; }
return priv->ctrl_base + (port->portnum * size); return priv->ctrl_base + (port->portnum * size);
} }
...@@ -365,7 +365,7 @@ static int brcm_sata_phy_init(struct phy *phy) ...@@ -365,7 +365,7 @@ static int brcm_sata_phy_init(struct phy *phy)
break; break;
default: default:
rc = -ENODEV; rc = -ENODEV;
}; }
return rc; return rc;
} }
......
...@@ -141,7 +141,7 @@ static void exynos4210_isol(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -141,7 +141,7 @@ static void exynos4210_isol(struct samsung_usb2_phy_instance *inst, bool on)
break; break;
default: default:
return; return;
}; }
regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
} }
...@@ -179,7 +179,7 @@ static void exynos4210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -179,7 +179,7 @@ static void exynos4210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
rstbits = EXYNOS_4210_URSTCON_PHY1_P1P2 | rstbits = EXYNOS_4210_URSTCON_PHY1_P1P2 |
EXYNOS_4210_URSTCON_HOST_LINK_P2; EXYNOS_4210_URSTCON_HOST_LINK_P2;
break; break;
}; }
if (on) { if (on) {
clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK); clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK);
......
...@@ -187,7 +187,7 @@ static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -187,7 +187,7 @@ static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on)
break; break;
default: default:
return; return;
}; }
regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
} }
...@@ -237,7 +237,7 @@ static void exynos4x12_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -237,7 +237,7 @@ static void exynos4x12_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
rstbits = EXYNOS_4x12_URSTCON_HSIC1 | rstbits = EXYNOS_4x12_URSTCON_HSIC1 |
EXYNOS_4x12_URSTCON_HOST_LINK_P1; EXYNOS_4x12_URSTCON_HOST_LINK_P1;
break; break;
}; }
if (on) { if (on) {
pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR);
......
...@@ -192,7 +192,7 @@ static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -192,7 +192,7 @@ static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on)
break; break;
default: default:
return; return;
}; }
regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
} }
......
...@@ -132,7 +132,7 @@ static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) ...@@ -132,7 +132,7 @@ static int rockchip_emmc_phy_power(struct phy *phy, bool on_off)
default: default:
ideal_rate = 200000000; ideal_rate = 200000000;
break; break;
}; }
diff = (rate > ideal_rate) ? diff = (rate > ideal_rate) ?
rate - ideal_rate : ideal_rate - rate; rate - ideal_rate : ideal_rate - rate;
......
...@@ -103,7 +103,7 @@ static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -103,7 +103,7 @@ static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on)
break; break;
default: default:
return; return;
}; }
regmap_update_bits(drv->reg_pmu, S5PV210_USB_ISOL_OFFSET, regmap_update_bits(drv->reg_pmu, S5PV210_USB_ISOL_OFFSET,
mask, on ? 0 : mask); mask, on ? 0 : mask);
...@@ -127,7 +127,7 @@ static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) ...@@ -127,7 +127,7 @@ static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
rstbits = S5PV210_URSTCON_PHY1_ALL | rstbits = S5PV210_URSTCON_PHY1_ALL |
S5PV210_URSTCON_HOST_LINK_ALL; S5PV210_URSTCON_HOST_LINK_ALL;
break; break;
}; }
if (on) { if (on) {
writel(drv->ref_reg_val, drv->reg_phy + S5PV210_UPHYCLK); writel(drv->ref_reg_val, drv->reg_phy + S5PV210_UPHYCLK);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment