mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
staging: sm750fb: Eliminate camel case
Edit CamelCase function name Issue found by checkpatch.pl Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e655d23dba
commit
40197d076c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user