Commit 40197d07 authored by Vatsala Narang's avatar Vatsala Narang Committed by Greg Kroah-Hartman

staging: sm750fb: Eliminate camel case

Edit CamelCase function name
Issue found by checkpatch.pl
Signed-off-by: default avatarVatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e655d23d
......@@ -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);
......
......@@ -102,6 +102,6 @@ enum disp_output {
do_CRT_SEC = CRT_2_SEC | SEC_TP_ON | DPMS_ON | DAC_ON,
};
void ddk750_setLogicalDispOut(enum disp_output output);
void ddk750_set_logical_disp_out(enum disp_output output);
#endif
......@@ -9,7 +9,7 @@ enum dpms {
crtDPMS_OFF = 0x3,
};
#define setDAC(off) { \
#define set_DAC(off) { \
poke32(MISC_CTRL, \
(peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
}
......
......@@ -207,7 +207,7 @@ int hw_sm750_output_setMode(struct lynxfb_output *output,
if (output->paths & sm750_crt)
disp_set |= do_CRT_SEC;
}
ddk750_setLogicalDispOut(disp_set);
ddk750_set_logical_disp_out(disp_set);
} else {
/* just open DISPLAY_CONTROL_750LE register bit 3:0 */
u32 reg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment