Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: fix semicolon.cocci warnings

Remove unneeded semicolon.

Generated by: coccinellery/semicolon/semicolon.cocci

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Vivek Gautam and committed by
Kishon Vijay Abraham I
0e65ba28 b3e78cbc

+11 -11
+3 -3
drivers/phy/phy-brcm-sata.c
··· 140 140 default: 141 141 dev_err(priv->dev, "invalid phy version\n"); 142 142 break; 143 - }; 143 + } 144 144 145 145 return priv->phy_base + (port->portnum * size); 146 146 } ··· 157 157 default: 158 158 dev_err(priv->dev, "invalid phy version\n"); 159 159 break; 160 - }; 160 + } 161 161 162 162 return priv->ctrl_base + (port->portnum * size); 163 163 } ··· 365 365 break; 366 366 default: 367 367 rc = -ENODEV; 368 - }; 368 + } 369 369 370 370 return rc; 371 371 }
+2 -2
drivers/phy/phy-exynos4210-usb2.c
··· 141 141 break; 142 142 default: 143 143 return; 144 - }; 144 + } 145 145 146 146 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); 147 147 } ··· 179 179 rstbits = EXYNOS_4210_URSTCON_PHY1_P1P2 | 180 180 EXYNOS_4210_URSTCON_HOST_LINK_P2; 181 181 break; 182 - }; 182 + } 183 183 184 184 if (on) { 185 185 clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK);
+2 -2
drivers/phy/phy-exynos4x12-usb2.c
··· 187 187 break; 188 188 default: 189 189 return; 190 - }; 190 + } 191 191 192 192 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); 193 193 } ··· 237 237 rstbits = EXYNOS_4x12_URSTCON_HSIC1 | 238 238 EXYNOS_4x12_URSTCON_HOST_LINK_P1; 239 239 break; 240 - }; 240 + } 241 241 242 242 if (on) { 243 243 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR);
+1 -1
drivers/phy/phy-exynos5250-usb2.c
··· 192 192 break; 193 193 default: 194 194 return; 195 - }; 195 + } 196 196 197 197 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); 198 198 }
+1 -1
drivers/phy/phy-rockchip-emmc.c
··· 132 132 default: 133 133 ideal_rate = 200000000; 134 134 break; 135 - }; 135 + } 136 136 137 137 diff = (rate > ideal_rate) ? 138 138 rate - ideal_rate : ideal_rate - rate;
+2 -2
drivers/phy/phy-s5pv210-usb2.c
··· 103 103 break; 104 104 default: 105 105 return; 106 - }; 106 + } 107 107 108 108 regmap_update_bits(drv->reg_pmu, S5PV210_USB_ISOL_OFFSET, 109 109 mask, on ? 0 : mask); ··· 127 127 rstbits = S5PV210_URSTCON_PHY1_ALL | 128 128 S5PV210_URSTCON_HOST_LINK_ALL; 129 129 break; 130 - }; 130 + } 131 131 132 132 if (on) { 133 133 writel(drv->ref_reg_val, drv->reg_phy + S5PV210_UPHYCLK);