Staging: clocking-wizard: Avoid CamelCase
authorSirnamSwetha <theonly.ultimate@gmail.com>
Sat, 30 Jan 2016 20:46:26 +0000 (02:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 04:05:31 +0000 (20:05 -0800)
This patch fixes the checkpatch.pl issue:

CHECK: Avoid CamelCase: <WZRD_CLkOUT0_FRAC_EN>

CHECK: Avoid CamelCase: <WZRD_CLkFBOUT_FRAC_EN>

Signed-off-by: SirnamSwetha <theonly.ultimate@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c

index b8e2f611fd47b027fb0486a02306515e9ec7798a..72c79aa29fb41e6b5bd222d627a53afff74e2078 100644 (file)
@@ -32,8 +32,8 @@
 
 #define WZRD_CLK_CFG_REG(n)    (0x200 + 4 * (n))
 
-#define WZRD_CLkOUT0_FRAC_EN   BIT(18)
-#define WZRD_CLkFBOUT_FRAC_EN  BIT(26)
+#define WZRD_CLKOUT0_FRAC_EN   BIT(18)
+#define WZRD_CLKFBOUT_FRAC_EN  BIT(26)
 
 #define WZRD_CLKFBOUT_MULT_SHIFT       8
 #define WZRD_CLKFBOUT_MULT_MASK                (0xff << WZRD_CLKFBOUT_MULT_SHIFT)
@@ -195,9 +195,9 @@ static int clk_wzrd_probe(struct platform_device *pdev)
 
        /* we don't support fractional div/mul yet */
        reg = readl(clk_wzrd->base + WZRD_CLK_CFG_REG(0)) &
-                   WZRD_CLkFBOUT_FRAC_EN;
+                   WZRD_CLKFBOUT_FRAC_EN;
        reg |= readl(clk_wzrd->base + WZRD_CLK_CFG_REG(2)) &
-                    WZRD_CLkOUT0_FRAC_EN;
+                    WZRD_CLKOUT0_FRAC_EN;
        if (reg)
                dev_warn(&pdev->dev, "fractional div/mul not supported\n");