]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
phy: fix semicolon.cocci warnings
authorVivek Gautam <vivek.gautam@codeaurora.org>
Thu, 20 Oct 2016 06:53:38 +0000 (12:23 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 18 Nov 2016 12:49:15 +0000 (18:19 +0530)
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>
drivers/phy/phy-brcm-sata.c
drivers/phy/phy-exynos4210-usb2.c
drivers/phy/phy-exynos4x12-usb2.c
drivers/phy/phy-exynos5250-usb2.c
drivers/phy/phy-rockchip-emmc.c
drivers/phy/phy-s5pv210-usb2.c

index 8ffc44afdb75baaceab39801b811d3c3314604e6..ccbc3d9949982a8be160cf77e8ad2da98d0113fe 100644 (file)
@@ -140,7 +140,7 @@ static inline void __iomem *brcm_sata_pcb_base(struct brcm_sata_port *port)
        default:
                dev_err(priv->dev, "invalid phy version\n");
                break;
-       };
+       }
 
        return priv->phy_base + (port->portnum * size);
 }
@@ -157,7 +157,7 @@ static inline void __iomem *brcm_sata_ctrl_base(struct brcm_sata_port *port)
        default:
                dev_err(priv->dev, "invalid phy version\n");
                break;
-       };
+       }
 
        return priv->ctrl_base + (port->portnum * size);
 }
@@ -365,7 +365,7 @@ static int brcm_sata_phy_init(struct phy *phy)
                break;
        default:
                rc = -ENODEV;
-       };
+       }
 
        return rc;
 }
index f30bbb0fb3b2652e897c1922a7f51e48b3dc270f..1f50e10048284d936733a881aa7b9f0ec273d082 100644 (file)
@@ -141,7 +141,7 @@ static void exynos4210_isol(struct samsung_usb2_phy_instance *inst, bool on)
                break;
        default:
                return;
-       };
+       }
 
        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)
                rstbits =       EXYNOS_4210_URSTCON_PHY1_P1P2 |
                                EXYNOS_4210_URSTCON_HOST_LINK_P2;
                break;
-       };
+       }
 
        if (on) {
                clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK);
index 765da90a536f057f9e3ccfc4bfe24868a388a63f..7f27a91acf87b4bd054e5d112abe7cd95410cb81 100644 (file)
@@ -187,7 +187,7 @@ static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on)
                break;
        default:
                return;
-       };
+       }
 
        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)
                rstbits =       EXYNOS_4x12_URSTCON_HSIC1 |
                                EXYNOS_4x12_URSTCON_HOST_LINK_P1;
                break;
-       };
+       }
 
        if (on) {
                pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR);
index 2ed1735a076a1f8a50898de3d3de28bc7dfa235d..aad806272305f068dd8fa06ee079eeb45cc6ade5 100644 (file)
@@ -192,7 +192,7 @@ static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on)
                break;
        default:
                return;
-       };
+       }
 
        regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
 }
index fd57345ffed28709c1e76105cb4fd7df32debe1c..f1b24f18e9b22d1e1071f0f870724e08b0d0c19e 100644 (file)
@@ -132,7 +132,7 @@ static int rockchip_emmc_phy_power(struct phy *phy, bool on_off)
                default:
                        ideal_rate = 200000000;
                        break;
-               };
+               }
 
                diff = (rate > ideal_rate) ?
                        rate - ideal_rate : ideal_rate - rate;
index 004d320767e4df752681ef674fb8287c5f68ef14..f6f72339bbc32ace9605fed669f9d34e42bfae52 100644 (file)
@@ -103,7 +103,7 @@ static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on)
                break;
        default:
                return;
-       };
+       }
 
        regmap_update_bits(drv->reg_pmu, S5PV210_USB_ISOL_OFFSET,
                                                        mask, on ? 0 : mask);
@@ -127,7 +127,7 @@ static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
                rstbits =       S5PV210_URSTCON_PHY1_ALL |
                                S5PV210_URSTCON_HOST_LINK_ALL;
                break;
-       };
+       }
 
        if (on) {
                writel(drv->ref_reg_val, drv->reg_phy + S5PV210_UPHYCLK);