mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
staging: sm750fb: change 2 CamelCase variables to snake_case
Renames these variables inside struct init_status to adhere to kernel coding style: - powerMode -> power_mode - resetMemory -> reset_memory This fixes the following checkpatch.pl checks: - CHECK: Avoid CamelCase: <powerMode> - CHECK: Avoid CamelCase: <resetMemory> Signed-off-by: Jennifer Guo <guojy.bj@gmail.com> Link: https://patch.msgid.link/20260510062908.67848-3-guojy.bj@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f50b4602fe
commit
45a337c126
|
|
@ -859,9 +859,9 @@ static void sm750fb_setup(struct sm750_dev *sm750_dev, char *src)
|
|||
sm750_dev->init_parm.chip_clk = 0;
|
||||
sm750_dev->init_parm.mem_clk = 0;
|
||||
sm750_dev->init_parm.master_clk = 0;
|
||||
sm750_dev->init_parm.powerMode = 0;
|
||||
sm750_dev->init_parm.power_mode = 0;
|
||||
sm750_dev->init_parm.setAllEngOff = 0;
|
||||
sm750_dev->init_parm.resetMemory = 1;
|
||||
sm750_dev->init_parm.reset_memory = 1;
|
||||
|
||||
/* defaultly turn g_hwcursor on for both view */
|
||||
g_hwcursor = 3;
|
||||
|
|
|
|||
|
|
@ -39,13 +39,13 @@ enum sm750_path {
|
|||
};
|
||||
|
||||
struct init_status {
|
||||
ushort powerMode;
|
||||
ushort power_mode;
|
||||
/* below three clocks are in unit of MHZ*/
|
||||
ushort chip_clk;
|
||||
ushort mem_clk;
|
||||
ushort master_clk;
|
||||
ushort setAllEngOff;
|
||||
ushort resetMemory;
|
||||
ushort reset_memory;
|
||||
};
|
||||
|
||||
struct lynx_accel {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user