]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: sm750fb: formatPllReg: rename ulPllReg to reg
authorMike Rapoport <mike.rapoport@gmail.com>
Wed, 10 Feb 2016 16:33:53 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:52:37 +0000 (19:52 -0800)
Remove HungarianCamelCase notation

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c

index a9a8884bbcfd94b875b03906bfa92300a8decd50..6ab26a9d5bc04ec2b0a2ff30f27a13e4b3caa449 100644 (file)
@@ -355,13 +355,13 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 
 unsigned int formatPllReg(pll_value_t *pPLL)
 {
-       unsigned int ulPllReg = 0;
+       unsigned int reg = 0;
 
     /* Note that all PLL's have the same format. Here, we just use Panel PLL parameter
        to work out the bit fields in the register.
        On returning a 32 bit number, the value can be applied to any PLL in the calling function.
     */
-       ulPllReg =
+       reg =
        FIELD_SET(0, PANEL_PLL_CTRL, BYPASS, OFF)
        | FIELD_SET(0, PANEL_PLL_CTRL, POWER,  ON)
        | FIELD_SET(0, PANEL_PLL_CTRL, INPUT,  OSC)
@@ -372,7 +372,7 @@ unsigned int formatPllReg(pll_value_t *pPLL)
        | FIELD_VALUE(0, PANEL_PLL_CTRL, N,      pPLL->N)
        | FIELD_VALUE(0, PANEL_PLL_CTRL, M,      pPLL->M);
 
-       return ulPllReg;
+       return reg;
 }