staging: sm750fb: rename p_PLL to pll in sm750_format_pll_reg()
PATCH 1/1 staging: sm750fb: rename p_PLL to pll in sm750_format_pll_reg()
The parameter p_PLL uses Hungarian notation and uppercase letters, which does not follow the kernel coding style. Rename it to pll, matching the naming used in sm750_calc_pll_value().
No functional change intended. Compile-tested on x86_64 with no warnings.
Signed-off-by Svyatoslav Mikhailov <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 10 +++++----- drivers/staging/sm750fb/ddk750_chip.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +5 -5
@@ -358,14 +358,14 @@ unsigned int sm750_calc_pll_value(unsigned int request_orig,return ret; } -unsigned int sm750_format_pll_reg (struct pll_value *p_PLL) +unsigned int sm750_format_pll_reg (struct pll_value *pll) {#ifndef VALIDATION_CHIP -unsigned int POD = p_PLL->POD; +unsigned int POD = pll->POD;#endif -unsigned int OD = p_PLL->OD; -unsigned int M = p_PLL->M; -unsigned int N = p_PLL->N; +unsigned int OD = pll->OD; +unsigned int M = pll->M; +unsigned int N = pll->N;/* * Note that all PLL's have the same format. Here, we just use
drivers/staging/sm750fb/ddk750_chip.h +1 -1
@@ -88,7 +88,7 @@ struct initchip_param {enum logical_chip_type sm750_get_chip_type (void );void sm750_set_chip_type (unsigned short dev_id,u8 rev_id);unsigned int sm750_calc_pll_value (unsigned int request,struct pll_value *pll); -unsigned int sm750_format_pll_reg (struct pll_value *p_PLL); +unsigned int sm750_format_pll_reg (struct pll_value *pll);unsigned int ddk750_get_vm_size (void );int ddk750_init_hw (struct initchip_param *pinit_param);
Signature · 1 line
2.55.0