diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2016-02-10 19:33:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-12 06:52:37 +0300 |
commit | 375b4d427e469dfe4a7d3c9a9ec6ad3109744090 (patch) | |
tree | b7f4f85e522a15dd0fe89089d93e9600247d2f47 /drivers/staging/sm750fb/ddk750_chip.c | |
parent | 127bf16602c47ed3c6b5ee619ac101316ea9b972 (diff) | |
download | linux-375b4d427e469dfe4a7d3c9a9ec6ad3109744090.tar.xz |
staging: sm750fb: formatPllReg: rename ulPllReg to reg
Remove HungarianCamelCase notation
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_chip.c')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_chip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index a9a8884bbcfd..6ab26a9d5bc0 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -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; } |