All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Edit CamelCase function names to make code more readable
@ 2019-03-17 20:19 Vatsala Narang
  2019-03-17 20:31 ` [Outreachy kernel] " Julia Lawall
  2019-03-18  5:46 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Vatsala Narang @ 2019-03-17 20:19 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1643 bytes --]


[PATCH] Edit CamelCase function names to make code more readable
Issue reported by checkpatch.pl tool

Signed-off-by:vatsalanarang<vatsalanarang@gmail.com>
---
 drivers/staging/sm750fb/ddk75
0_display.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_display.c 
b/drivers/staging/sm750fb/ddk750_display.c
index f38051eedb6c..7f28e4cc4c79 100644
--- a/drivers/staging/sm750fb/ddk750_display.c
+++ b/drivers/staging/sm750fb/ddk750_display.c
@@ -85,7 +85,7 @@ static void primary_wait_vertical_sync(int delay)
        }
 }

-static void swPanelPowerSequence(int disp, int delay)
+static void sw_panel_power_sequence(int disp, int delay)
 {
        unsigned int reg;

@@ -111,7 +111,7 @@ static void swPanelPowerSequence(int disp, int delay)
        primary_wait_vertical_sync(delay);
 }

-void ddk750_setLogicalDispOut(enum disp_output output)
+void ddk750_set_logical_disp_out(enum disp_output output)
 {
        unsigned int reg;

@@ -147,12 +147,12 @@ void ddk750_setLogicalDispOut(enum disp_output output)

        if (output & PNL_SEQ_USAGE) {
                /* set  panel sequence */
-               swPanelPowerSequence((output & PNL_SEQ_MASK) >> 
PNL_SEQ_OFFSET,
-                                    4);
+               sw_panel_power_sequence
+               ((output & PNL_SEQ_MASK) >> PNL_SEQ_OFFSET, 4);
        }

        if (output & DAC_USAGE)
-               setDAC((output & DAC_MASK) >> DAC_OFFSET);
+               set_DAC((output & DAC_MASK) >> DAC_OFFSET);

        if (output & DPMS_USAGE)
                ddk750_set_dpms((output & DPMS_MASK) >> DPMS_OFFSET);

[-- Attachment #1.2: Type: text/html, Size: 2615 bytes --]

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

end of thread, other threads:[~2019-03-18 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-17 20:19 [PATCH] Edit CamelCase function names to make code more readable Vatsala Narang
2019-03-17 20:31 ` [Outreachy kernel] " Julia Lawall
2019-03-18 11:33   ` Vatsala Narang
2019-03-18  5:46 ` 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.