]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
phy: exynos5-usbdrd: Remove "static" from local variable
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Aug 2016 09:27:38 +0000 (17:27 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:25 +0000 (16:48 +0530)
The 'reg' local variable does not need to be static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos5-usbdrd.c

index 20696f53303f0798059f45273cf817cb936ea415..07ed608905ac975440f028b5ac9117f7da5b1ce1 100644 (file)
@@ -249,7 +249,7 @@ static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst,
 static unsigned int
 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst)
 {
-       static u32 reg;
+       u32 reg;
        struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
 
        /* restore any previous reference clock settings */
@@ -295,7 +295,7 @@ exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst)
 static unsigned int
 exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst)
 {
-       static u32 reg;
+       u32 reg;
        struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
 
        /* restore any previous reference clock settings */