All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] [Outreachy kernel] staging: sm750fb: avoid camelcase function names
@ 2019-03-21 11:04 Payal Kshirsagar
  2019-03-21 19:09 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Payal Kshirsagar @ 2019-03-21 11:04 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Payal Kshirsagar

Eliminate camelcase function names to fix the style issue – 'avoid
camelcase'.

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
---
 drivers/staging/sm750fb/ddk750_mode.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/drivers/staging/sm750fb/ddk750_mode.c
index 1256b13..5e35fec 100644
--- a/drivers/staging/sm750fb/ddk750_mode.c
+++ b/drivers/staging/sm750fb/ddk750_mode.c
@@ -13,8 +13,8 @@
  * HW only supports 7 predefined pixel clocks, and clock select is
  * in bit 29:27 of Display Control register.
  */
-static unsigned long displayControlAdjust_SM750LE(struct mode_parameter *pModeParam,
-						  unsigned long dispcontrol)
+static unsigned long display_control_adjust_SM750LE(struct mode_parameter *pModeParam,
+						    unsigned long dispcontrol)
 {
 	unsigned long x, y;
 
@@ -124,7 +124,7 @@ static int program_mode_registers(struct mode_parameter *pModeParam,
 			tmp |= DISPLAY_CTRL_HSYNC_PHASE;
 
 		if (sm750_get_chip_type() == SM750LE) {
-			displayControlAdjust_SM750LE(pModeParam, tmp);
+			display_control_adjust_SM750LE(pModeParam, tmp);
 		} else {
 			reg = peek32(CRT_DISPLAY_CTRL) &
 				~(DISPLAY_CTRL_VSYNC_PHASE |
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-21 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-21 11:04 [PATCH 1/3] [Outreachy kernel] staging: sm750fb: avoid camelcase function names Payal Kshirsagar
2019-03-21 19:09 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.