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 <redacted>
---
drivers/staging/sm750fb/ddk750_chip.c | 10 +++++-----
drivers/staging/sm750fb/ddk750_chip.h | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index aa78d0bc1d87..6ffd6a2a1b06 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -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 usediff --git a/drivers/staging/sm750fb/ddk750_chip.h b/drivers/staging/sm750fb/ddk750_chip.h
index 2a13debc179f..685fde67c2b5 100644
--- a/drivers/staging/sm750fb/ddk750_chip.h
+++ b/drivers/staging/sm750fb/ddk750_chip.h
@@ -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);
--
2.55.0